mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 08:00:42 +00:00
fix(ui): clean archived session state reads
This commit is contained in:
@@ -770,6 +770,7 @@ describe("switchChatSession", () => {
|
||||
chatQueue: [{ id: "queued", text: "message B", createdAt: 1 }],
|
||||
chatQueueBySession: {},
|
||||
chatRunId: "run-1",
|
||||
sessionsShowArchived: false,
|
||||
chatSideResultTerminalRuns: new Set(["btw-run-1"]),
|
||||
chatStreamStartedAt: 1,
|
||||
sessionsShowArchived: false,
|
||||
@@ -835,6 +836,7 @@ describe("switchChatSession", () => {
|
||||
chatQueue: [{ id: "queued-1", text: "message B", createdAt: 1 }],
|
||||
chatQueueBySession: {},
|
||||
chatRunId: "run-1",
|
||||
sessionsShowArchived: false,
|
||||
chatSideResultTerminalRuns: new Set<string>(),
|
||||
chatStreamStartedAt: 1,
|
||||
settings,
|
||||
@@ -879,6 +881,7 @@ describe("switchChatSession", () => {
|
||||
chatQueue: [],
|
||||
chatQueueBySession: {},
|
||||
chatRunId: null,
|
||||
sessionsShowArchived: false,
|
||||
chatSideResultTerminalRuns: new Set<string>(),
|
||||
chatStreamStartedAt: null,
|
||||
settings,
|
||||
|
||||
Reference in New Issue
Block a user