Skip to content

Commit 0f9bb28

Browse files
committed
ui: fix default behaviours of columns on stmt page on cc console
When a CC Console user open the Statement page for the first time (no cache was created for column selector), this commits make sure that the default columns will be displayed. Fixes: #70160 Release justification: Category 4 Release note (bug fix): Default columns being displayed on Statements page on CC console when the user never made any selection
1 parent d69481b commit 0f9bb28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/ui/workspaces/cluster-ui/src/store/localStorage/localStorage.reducer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const initialState: LocalStorageState = {
4242
Boolean(JSON.parse(localStorage.getItem("adminUi/showDiagnosticsModal"))) ||
4343
false,
4444
"showColumns/StatementsPage":
45-
JSON.parse(localStorage.getItem("showColumns/StatementsPage")) || "default",
45+
JSON.parse(localStorage.getItem("showColumns/StatementsPage")) || null,
4646
"dateRange/StatementsPage":
4747
JSON.parse(localStorage.getItem("dateRange/StatementsPage")) ||
4848
defaultDateRange,

0 commit comments

Comments
 (0)