fix hint display problems

This commit is contained in:
Annie Huang authored and Lin, Hung-Shin committed 2024-04-05 22:19:38 +08:00
1 parent ff1cdc9a95
commit 14fb870838
3 files changed
+6 -4

No files matched your search

+2 -2
View File
@@ -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
}