From e005a123ba8ae821fa93d4c0a582d65084df45ed Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 18 Jul 2024 14:26:54 -0500 Subject: [PATCH] fix(web): user can remove server license (#11199) --- .../components/user-settings-page/license-settings.svelte | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/web/src/lib/components/user-settings-page/license-settings.svelte b/web/src/lib/components/user-settings-page/license-settings.svelte index af61796784..6952d8139e 100644 --- a/web/src/lib/components/user-settings-page/license-settings.svelte +++ b/web/src/lib/components/user-settings-page/license-settings.svelte @@ -116,9 +116,11 @@ -
- -
+ {#if $user.isAdmin} +
+ +
+ {/if} {:else}