From 7b3ba9f4328bfc43c6213c01eff0527dac7923ff Mon Sep 17 00:00:00 2001 From: nyne Date: Fri, 30 May 2025 20:23:04 +0800 Subject: [PATCH] Fix invalid permission check --- frontend/src/pages/tagged_resources_page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/tagged_resources_page.tsx b/frontend/src/pages/tagged_resources_page.tsx index 92c1303..cc6f729 100644 --- a/frontend/src/pages/tagged_resources_page.tsx +++ b/frontend/src/pages/tagged_resources_page.tsx @@ -46,7 +46,7 @@ export default function TaggedResourcesPage() { {tag?.name ?? tagName} { - tag && { + (tag && app.canUpload()) && { setTag(t) }} /> } @@ -60,7 +60,7 @@ export default function TaggedResourcesPage() { } { - (tag?.description && app.canUpload()) &&
+ tag?.description &&
{tag.description}