We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d15efde commit 83daae9Copy full SHA for 83daae9
stores/events.ts
@@ -10,7 +10,7 @@ export const useEventStore = defineStore("useEventStore", {
10
events.forEach((event) => {
11
const isExistedEvent = this.events.some((el) => el.uuid === event.uuid);
12
if (!isExistedEvent) {
13
- this.events.unshift(event);
+ this.events.push(event);
14
} else {
15
this.events = this.events.map((el) => {
16
if (el.uuid !== event.uuid) {
0 commit comments