fix(web): user can remove server license (#11199)

pull/11201/head
Alex 2024-07-18 14:26:54 -05:00 committed by GitHub
parent cd63212118
commit e005a123ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 3 deletions

View File

@ -116,9 +116,11 @@
</div>
</div>
{#if $user.isAdmin}
<div class="text-right mt-4">
<Button size="sm" color="red" on:click={removeServerLicense}>Remove license</Button>
</div>
{/if}
{:else}
<div
class="bg-gray-50 border border-immich-dark-primary/50 dark:bg-immich-dark-primary/15 p-6 pr-12 rounded-xl flex place-content-center gap-4"