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 {
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user