Fix:Create bookmark was requiring a socket connection still

This commit is contained in:
advplyr 2022-05-11 18:59:24 -05:00
parent 5fa8d4c989
commit 92256f2fed

View file

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