diff --git a/app/src/store/session.ts b/app/src/store/session.ts index c4669c9..5845ea8 100644 --- a/app/src/store/session.ts +++ b/app/src/store/session.ts @@ -58,7 +58,9 @@ const useSession = defineStore('session', { if (!this.session) return this.session.responses.push(response.responses) this.session.hints.push(response.hints) - this.session.tasks = response.tasks + if (response.tasks) { + this.session.tasks = response.tasks + } this.session.status = response.status }, reset() {