Skip to content

Commit

Permalink
Updating utils after refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
arivepr committed Sep 5, 2023
1 parent 776803e commit cd35821
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
27 changes: 0 additions & 27 deletions src/components/NotificationsDrawer/notificationDrawerUtils.ts
Original file line number Diff line number Diff line change
@@ -1,30 +1,3 @@
export const testData = [
{
id: 1,
title: 'Test Notification 1',
description: 'Testing of notification',
read: false,
source: 'rhel', // the origin of the message
created: '2023-08-18T12:00:00Z',
},
{
id: 2,
title: 'Test Notification 2',
description: 'Testing of notification',
read: false,
source: 'ansible', // the origin of the message
created: '2023-08-18T12:05:00Z',
},
{
id: 3,
title: 'Test Notification 3',
description: 'Testin of notification',
read: false,
source: 'openshift', // the origin of the message
created: '2023-08-18T12:10:00Z',
},
];

export const filterConfig = [
{ title: 'Console', value: 'console' },
{ title: 'OpenShift', value: 'openshift' },
Expand Down
1 change: 0 additions & 1 deletion src/layouts/DefaultLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ const DefaultLayout: React.FC<DefaultLayoutProps> = ({ hasBanner, selectedAccoun
tabbableElement.focus();
};
const isNotificationsEnabled = useFlag('platform.chrome.notifications-drawer');

return (
<Page
className={
Expand Down

0 comments on commit cd35821

Please sign in to comment.