feat: add alert history page size preference with persistence (#1404)

This commit is contained in:
Arush Wadhawan
2025-11-14 13:37:46 -05:00
committed by GitHub
parent f61ba202d8
commit 77fe63fb63
3 changed files with 19 additions and 1 deletions

View File

@@ -48,6 +48,7 @@ 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))