mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-14 08:42:40 +02:00
lock controls
This commit is contained in:
parent
605cb2778d
commit
d29a64ac86
6 changed files with 134 additions and 32 deletions
|
@ -106,9 +106,9 @@
|
|||
toggleLock() {
|
||||
if (this.admin) {
|
||||
if (this.locked) {
|
||||
this.$accessor.remote.unlock()
|
||||
this.$accessor.unlock()
|
||||
} else {
|
||||
this.$accessor.remote.lock()
|
||||
this.$accessor.lock()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue