fix: tips

This commit is contained in:
Andras Bacsai
2022-08-10 11:22:44 +00:00
parent 91d135bff8
commit b0ef5722fb
8 changed files with 17 additions and 43 deletions

View File

@@ -88,11 +88,10 @@
<nav class="nav-side">
<button
on:click={() => deleteDestination(destination)}
title={$t('destination.delete_destination')}
type="submit"
disabled={!$appSession.isAdmin && isDestinationDeletable}
class:hover:text-red-500={$appSession.isAdmin && isDestinationDeletable}
class="icons tooltip tooltip-bottom bg-transparent text-sm"
class="icons tooltip tooltip-left bg-transparent text-sm"
class:text-stone-600={!isDestinationDeletable}
data-tip={deletable()}><DeleteIcon /></button
>