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