mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-13 16:23:52 +02:00
tooltip for room lock
This commit is contained in:
parent
d29a64ac86
commit
880f151185
1 changed files with 7 additions and 0 deletions
|
@ -9,6 +9,13 @@
|
|||
<i
|
||||
:class="[{ disabled: !admin }, { 'fa-lock-open': !locked }, { 'fa-lock': locked }, 'fas', 'lock']"
|
||||
@click="toggleLock"
|
||||
v-tooltip="{
|
||||
content: admin ? (locked ? 'Unlock Room' : 'Lock Room') : locked ? 'Room Unlocked' : 'Room Locked',
|
||||
placement: 'bottom',
|
||||
offset: 5,
|
||||
boundariesElement: 'body',
|
||||
delay: { show: 300, hide: 100 },
|
||||
}"
|
||||
/>
|
||||
</li>
|
||||
<li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue