change alert history pagination to use local storage instead of saving to user settings

This commit is contained in:
henrygd
2025-11-14 13:54:23 -05:00
parent 77fe63fb63
commit bd41ad813c
3 changed files with 7 additions and 16 deletions

View File

@@ -48,7 +48,6 @@ export const $userSettings = map<UserSettings>({
emails: [pb.authStore.record?.email || ""],
unitNet: Unit.Bytes,
unitTemp: Unit.Celsius,
alertHistoryPageSize: 10,
})
// update chart time on change
listenKeys($userSettings, ["chartTime"], ({ chartTime }) => $chartTime.set(chartTime))