Fix: Optionally show IP/URL of the monitor in status page

This commit is contained in:
Asim Ahmed Siddiqui committed 2025-05-23 12:40:47 +05:30
1 parent e7694afeba
commit e8d636dcfd
11 files changed
+92 -8

No files matched your search

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