fix: 🐛 fix wrong state placement on action (fix #136)
This commit is contained in:
parent
7c151d8f58
commit
437c7868dd
|
@ -44,11 +44,11 @@ export const usePlayer = defineStore('player', {
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
|
|
||||||
this.episode.action = action
|
this.episode.action = action.data
|
||||||
} catch {}
|
} catch {}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
this.episode.action?.position &&
|
this.episode.action &&
|
||||||
this.episode.action.position < this.episode.action.total
|
this.episode.action.position < this.episode.action.total
|
||||||
) {
|
) {
|
||||||
audio.currentTime = this.episode.action.position
|
audio.currentTime = this.episode.action.position
|
||||||
|
|
Loading…
Reference in New Issue