mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-11-19 15:18:21 +01:00
Fix:Create bookmark was requiring a socket connection still
This commit is contained in:
1 parent
5fa8d4c989
commit
92256f2fed
1 file changed
-4
@@ -83,11 +83,7 @@ export default {
|
||||
this.$emit('input', val)
|
||||
}
|
||||
},
|
||||
isConnected() {
|
||||
return this.$store.state.socketConnected
|
||||
},
|
||||
canCreateBookmark() {
|
||||
if (!this.isConnected) return false
|
||||
return !this.bookmarks.find((bm) => bm.time === this.currentTime)
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user