mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 08:31:59 +00:00
fix(web): user can remove server license (#11199)
This commit is contained in:
parent
cd63212118
commit
e005a123ba
1 changed files with 5 additions and 3 deletions
|
@ -116,9 +116,11 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{#if $user.isAdmin}
|
||||||
<div class="text-right mt-4">
|
<div class="text-right mt-4">
|
||||||
<Button size="sm" color="red" on:click={removeServerLicense}>Remove license</Button>
|
<Button size="sm" color="red" on:click={removeServerLicense}>Remove license</Button>
|
||||||
</div>
|
</div>
|
||||||
|
{/if}
|
||||||
{:else}
|
{:else}
|
||||||
<div
|
<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"
|
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"
|
||||||
|
|
Loading…
Reference in a new issue