feat(dashboard): close legacy parity gaps
This commit is contained in:
1 parent
92287c0a9a
commit
4b3f00729f
21 files changed
+397
-28
No files matched your search
@@ -24,7 +24,8 @@ export type LiveConsoleAction =
|
||||
| { type: 'set-paused'; paused: boolean }
|
||||
| { type: 'set-auto-scroll'; enabled: boolean }
|
||||
| { type: 'set-level'; level: ConsoleLevelFilter }
|
||||
| { type: 'set-search'; search: string };
|
||||
| { type: 'set-search'; search: string }
|
||||
| { type: 'clear' };
|
||||
|
||||
function boundedAppend(
|
||||
entries: readonly ConsoleEntry[],
|
||||
@@ -89,6 +90,8 @@ export function reduceLiveConsoleState(
|
||||
return { ...state, level: action.level };
|
||||
case 'set-search':
|
||||
return { ...state, search: action.search };
|
||||
case 'clear':
|
||||
return { ...state, entries: [], pendingEntries: [] };
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user