[eric] dashboard: allow workflow_cards/configure_panels/workflows_hub in layout schema (PUT was silently stripping them)

This commit is contained in:
ciregenz
2026-05-22 09:55:43 -07:00
parent 7715d26d4b
commit cb7b3bc977
2 changed files with 16 additions and 1 deletions
+7
View File
@@ -59,3 +59,10 @@ export const store = configureStore({
export type RootState = ReturnType<typeof store.getState>;
export type AppDispatch = typeof store.dispatch;
// Expose the store on window in dev so playwright + the user's devtools
// can drive UI flows without hunting for selectors. The expose is
// guarded by NODE_ENV so production bundles don't ship it.
if (typeof window !== 'undefined' && process.env.NODE_ENV !== 'production') {
(window as unknown as { __OPENSWARM_STORE__?: typeof store }).__OPENSWARM_STORE__ = store;
}