mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
Agents UI: complete config state test fixture
This commit is contained in:
@@ -28,13 +28,27 @@ function createSaveState(): {
|
|||||||
return {
|
return {
|
||||||
state: {
|
state: {
|
||||||
...state,
|
...state,
|
||||||
|
applySessionKey: "session-1",
|
||||||
|
configLoading: false,
|
||||||
|
configRawOriginal: "{}",
|
||||||
|
configValid: true,
|
||||||
|
configIssues: [],
|
||||||
configSaving: false,
|
configSaving: false,
|
||||||
|
configApplying: false,
|
||||||
|
updateRunning: false,
|
||||||
configSnapshot: { hash: "hash-1" },
|
configSnapshot: { hash: "hash-1" },
|
||||||
configFormDirty: true,
|
configFormDirty: true,
|
||||||
configFormMode: "form",
|
configFormMode: "form",
|
||||||
configForm: { agents: { list: [{ id: "main" }] } },
|
configForm: { agents: { list: [{ id: "main" }] } },
|
||||||
configRaw: "{}",
|
configRaw: "{}",
|
||||||
configSchema: null,
|
configSchema: null,
|
||||||
|
configSchemaVersion: null,
|
||||||
|
configSchemaLoading: false,
|
||||||
|
configUiHints: {},
|
||||||
|
configFormOriginal: { agents: { list: [{ id: "main" }] } },
|
||||||
|
configSearchQuery: "",
|
||||||
|
configActiveSection: null,
|
||||||
|
configActiveSubsection: null,
|
||||||
lastError: null,
|
lastError: null,
|
||||||
},
|
},
|
||||||
request,
|
request,
|
||||||
|
|||||||
Reference in New Issue
Block a user