From ede3da7a878dc007331a38c07e06c53fc0dd6830 Mon Sep 17 00:00:00 2001 From: Christoph Kluge Date: Wed, 25 Sep 2024 12:23:21 +0200 Subject: [PATCH] improve tag scope clarity --- .../src/generic/helper/TagManagement.svelte | 51 +++++++++---------- 1 file changed, 23 insertions(+), 28 deletions(-) diff --git a/web/frontend/src/generic/helper/TagManagement.svelte b/web/frontend/src/generic/helper/TagManagement.svelte index 5121921..0996f03 100644 --- a/web/frontend/src/generic/helper/TagManagement.svelte +++ b/web/frontend/src/generic/helper/TagManagement.svelte @@ -211,26 +211,19 @@ {#if pendingChange === utag.id} {:else} - {#if utag.scope === 'global' || utag.scope === 'admin'} - {#if isAdmin} - + + Private Tag {/if} - {:else} + + {#if isAdmin || (utag.scope !== 'global' && utag.scope !== 'admin')} + + {#if isAdmin || (uutag.scope !== 'global' && uutag.scope !== 'admin')}