Merge pull request #24756 from drodil/notification_filter
fix: show all notifications by default in notifications page
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-notifications': patch
|
||||
---
|
||||
|
||||
Show all notifications by default to match the sidebar item status
|
||||
@@ -71,7 +71,7 @@ export const NotificationsPage = (props?: NotificationsPageProps) => {
|
||||
const [pageNumber, setPageNumber] = React.useState(0);
|
||||
const [pageSize, setPageSize] = React.useState(5);
|
||||
const [containsText, setContainsText] = React.useState<string>();
|
||||
const [createdAfter, setCreatedAfter] = React.useState<string>('lastWeek');
|
||||
const [createdAfter, setCreatedAfter] = React.useState<string>('all');
|
||||
const [sorting, setSorting] = React.useState<SortBy>(
|
||||
SortByOptions.newest.sortBy,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user