lock controls

This commit is contained in:
Craig 2020-02-11 23:51:57 +00:00
parent 605cb2778d
commit d29a64ac86
6 changed files with 134 additions and 32 deletions

View file

@ -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()
}
}
}