mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Update storage keys
Signed-off-by: leonnicolas <leonloechner@gmx.de>
This commit is contained in:
parent
36520fd8b2
commit
fccd78d3cd
|
@ -163,7 +163,7 @@ export default function AlertsPage() {
|
||||||
);
|
);
|
||||||
const [debouncedSearch] = useDebouncedValue<string>(searchFilter.trim(), 250);
|
const [debouncedSearch] = useDebouncedValue<string>(searchFilter.trim(), 250);
|
||||||
const [showEmptyGroups, setShowEmptyGroups] = useLocalStorage<boolean>({
|
const [showEmptyGroups, setShowEmptyGroups] = useLocalStorage<boolean>({
|
||||||
key: "alerts-page-show-empty-groups",
|
key: "alertsPage.showEmptyGroups",
|
||||||
defaultValue: true,
|
defaultValue: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -166,7 +166,7 @@ const ScrapePoolList: FC<ScrapePoolListProp> = ({
|
||||||
|
|
||||||
const dispatch = useAppDispatch();
|
const dispatch = useAppDispatch();
|
||||||
const [showEmptyPools, setShowEmptyPools] = useLocalStorage<boolean>({
|
const [showEmptyPools, setShowEmptyPools] = useLocalStorage<boolean>({
|
||||||
key: "targets-page-show-empty-pools",
|
key: "targetsPage.showEmptyPools",
|
||||||
defaultValue: true,
|
defaultValue: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue