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

@@ -49,13 +49,12 @@
<nav class="nav-side">
<button
on:click={deleteTeam}
title={$t('source.delete_git_source')}
type="submit"
disabled={!$appSession.isAdmin}
class:hover:text-red-500={$appSession.isAdmin}
class="icons tooltip tooltip-bottom bg-transparent text-sm"
class="icons tooltip tooltip-left bg-transparent text-sm"
data-tip={$appSession.isAdmin
? 'Delete Team'
? 'Delete'
: $t('destination.permission_denied_delete_destination')}><DeleteIcon /></button
>
</nav>