diff --git a/app/src/components/HintPart.vue b/app/src/components/HintPart.vue index ed4ff05..7f2522d 100644 --- a/app/src/components/HintPart.vue +++ b/app/src/components/HintPart.vue @@ -70,6 +70,7 @@ const right = () => {
  • @@ -79,6 +80,7 @@ const right = () => {
  • diff --git a/app/src/store/session.ts b/app/src/store/session.ts index 8e21aa5..5506ce6 100644 --- a/app/src/store/session.ts +++ b/app/src/store/session.ts @@ -103,8 +103,8 @@ function updateGraph(event: { discover: FileObject[]; pwd: string }) { function newResponse(response: StageResponse) { console.log('newResponse', response, 'session', store.session) - store.session.responses.push(...response.responses) - store.session.hints.push(...response.hints) + store.session.responses.push(response.responses) + store.session.hints.push(response.hints) store.session.tasks = response.tasks store.session.status = response.status } diff --git a/app/src/types.ts b/app/src/types.ts index 11a7b86..3dbfb84 100644 --- a/app/src/types.ts +++ b/app/src/types.ts @@ -10,9 +10,9 @@ export interface Task { export interface StageResponse { status: string - hints: string[] + hints: string tasks: Task[] - responses: IResponse[] + responses: IResponse } export interface Session {