From 437c7868ddead8cf7011cee40bce1f3d5643ea30 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Mon, 2 Sep 2024 10:51:21 +0200 Subject: [PATCH] fix: :bug: fix wrong state placement on action (fix #136) --- src/store/player.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/player.js b/src/store/player.js index 25c9830..603f57f 100644 --- a/src/store/player.js +++ b/src/store/player.js @@ -44,11 +44,11 @@ export const usePlayer = defineStore('player', { }), ) - this.episode.action = action + this.episode.action = action.data } catch {} if ( - this.episode.action?.position && + this.episode.action && this.episode.action.position < this.episode.action.total ) { audio.currentTime = this.episode.action.position