Changes: Made showURL boolean and removed console log

This commit is contained in:
Asim Ahmed Siddiqui committed 2025-05-26 00:19:49 +05:30
1 parent e8d636dcfd
commit e7ed85405b
9 files changed
+24 -20

No files matched your search

+4 -4
View File
@@ -20,7 +20,7 @@ const initialState = {
collapsed: false,
},
mode: initialMode,
statusURL: "disabled",
showURL: false,
greeting: { index: 0, lastUpdate: null },
timezone: "America/Toronto",
distributedUptimeEnabled: false,
@@ -47,8 +47,8 @@ const uiSlice = createSlice({
setMode: (state, action) => {
state.mode = action.payload;
},
setStatusURL: (state, action) => {
state.statusURL = action.payload;
setShowURL: (state, action) => {
state.showURL = action.payload;
},
setGreeting(state, action) {
state.greeting.index = action.payload.index;
@@ -71,7 +71,7 @@ export const {
setRowsPerPage,
toggleSidebar,
setMode,
setStatusURL,
setShowURL,
setGreeting,
setTimezone,
setDistributedUptimeEnabled,