Creating multiple notifications at the same time causes duplicated keys error #6242
Closed
1 of 7 tasks
Labels
Milestone
Summary
If two or more notifications are created at the same time, the same timestamp is assigned to the identifiers of the notification. This will cause the error of "Duplicated keys" from Vue.
src/plugins/notificationIndicator/components/NotificationsList.vue
While I'm not aware of a current situation where two notifications are created at the same time, this is one possible behavior that could occur. It also prevents creating two notifications using OpenMCT API without the tests failing.
Expected vs Current Behavior
Creating multiple notifications with the same time should not cause a Vue error of 'Duplicated keys'.
Steps to Reproduce
You can also check the video of the 'Additional Information' section of this issue.
Environment
Impact Check List
Additional Information
Reproduction of the error:
Screen.Recording.2023-01-31.at.10.41.16.PM.mov
Error when trying to run tests creating multiple notifications:
The text was updated successfully, but these errors were encountered: