mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-13 07:24:55 +02:00
Fix:Create bookmark was requiring a socket connection still
This commit is contained in:
parent
5fa8d4c989
commit
92256f2fed
1 changed files with 0 additions and 4 deletions
|
@ -83,11 +83,7 @@ export default {
|
||||||
this.$emit('input', val)
|
this.$emit('input', val)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
isConnected() {
|
|
||||||
return this.$store.state.socketConnected
|
|
||||||
},
|
|
||||||
canCreateBookmark() {
|
canCreateBookmark() {
|
||||||
if (!this.isConnected) return false
|
|
||||||
return !this.bookmarks.find((bm) => bm.time === this.currentTime)
|
return !this.bookmarks.find((bm) => bm.time === this.currentTime)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue