feat: deprecate old notification module and introduce new notifier module

This commit is contained in:
Fu Diwei
2025-04-24 20:27:20 +08:00
parent 2d17501072
commit 7478dd7f47
27 changed files with 692 additions and 265 deletions

View File

@@ -185,10 +185,12 @@ const AccessList = () => {
const handleTabChange = (key: string) => {
setFilters((prev) => ({ ...prev, range: key }));
setPage(1);
};
const handleSearch = (value: string) => {
setFilters((prev) => ({ ...prev, keyword: value }));
setPage(1);
};
const handleReloadClick = () => {
@@ -251,10 +253,10 @@ const AccessList = () => {
key: "ca-only",
label: t("access.props.range.ca_only"),
},
// {
// key: "notify-only",
// label: t("access.props.range.notify_only"),
// },
{
key: "notify-only",
label: t("access.props.range.notify_only"),
},
]}
activeTabKey={filters["range"] as string}
onTabChange={(key) => handleTabChange(key)}