This repository has been archived by the owner on Aug 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds delete and mark as seen feature
- Loading branch information
Anisha1234
committed
Jan 25, 2021
1 parent
7213b87
commit 7783eba
Showing
4 changed files
with
98 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,73 @@ | ||
export const expirationLimit = 20; | ||
|
||
export const newData = [ | ||
// P.S: the key needs to be unique for this object | ||
export const resultData = [ | ||
{ | ||
key: 1, | ||
result: ['fio_2020.09.10T12.42.11', ' virtual506.virt.lab.eng.bos.redhat.com'], | ||
end: '2020-09-10T 11:52:34.552478', | ||
seen: false, | ||
description: 'More content can be added here', | ||
}, | ||
{ | ||
key: 2, | ||
result: ['fio_2020.09.10T12.42.12', ' virtual506.virt.lab.eng.bos.redhat.com'], | ||
end: '2020-09-10T11:52:34.552478', | ||
seen: false, | ||
description: 'More content can be added here', | ||
}, | ||
{ | ||
key: 3, | ||
result: ['fio_2020.09.10T12.42.13', ' virtual506.virt.lab.eng.bos.redhat.com'], | ||
end: '2020-09-10T11:52:34.552478', | ||
seen: false, | ||
description: 'More content can be added here', | ||
}, | ||
{ | ||
key: 4, | ||
result: ['fio_2020.09.10T12.42.14', ' virtual506.virt.lab.eng.bos.redhat.com'], | ||
end: '2020-09-10T11:52:34.552478', | ||
seen: false, | ||
description: 'More content can be added here', | ||
}, | ||
]; | ||
|
||
export const seenData = [ | ||
{ | ||
key: 1, | ||
key: 5, | ||
result: ['fio_2020.09.10T12.42.11', 'virtual506.virt.lab.eng.bos.redhat.com'], | ||
end: '2020-11-13T11:52:34.552478', | ||
deletion: '2020-11-13T11:52:34.552478', | ||
seen: true, | ||
description: 'More content can be added here', | ||
}, | ||
{ | ||
key: 2, | ||
key: 6, | ||
result: ['fio_2020.09.10T12.42.12', ' virtual506.virt.lab.eng.bos.redhat.com'], | ||
end: '2020-11-20T11:52:34.552478', | ||
deletion: '2020-11-20T11:52:34.552478', | ||
seen: true, | ||
description: 'More content can be added here', | ||
}, | ||
{ | ||
key: 3, | ||
key: 7, | ||
result: ['fio_2020.09.10T12.42.13', ' virtual506.virt.lab.eng.bos.redhat.com'], | ||
end: '2020-11-15T11:52:34.552478', | ||
deletion: '2020-11-15T11:52:34.552478', | ||
seen: true, | ||
description: 'More content can be added here', | ||
}, | ||
{ | ||
key: 4, | ||
key: 8, | ||
result: ['fio_2020.09.10T12.42.14', ' virtual506.virt.lab.eng.bos.redhat.com'], | ||
end: '2020-11-25T11:52:34.552478', | ||
deletion: '2020-11-25T11:52:34.552478', | ||
seen: true, | ||
description: 'More content can be added here', | ||
}, | ||
{ | ||
key: 9, | ||
result: ['fio_2020.09.10T12.42.14', ' virtual506.virt.lab.eng.bos.redhat.com'], | ||
end: '2020-11-25T11:52:34.552478', | ||
deletion: '2020-11-25T11:52:34.552478', | ||
seen: true, | ||
description: 'More content can be added here', | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters