chore: Clean up
This commit is contained in:
@@ -60,7 +60,7 @@ export default {
|
||||
},
|
||||
activeNotificationPosition() {
|
||||
const notificationIndex = this.notifications.findIndex(
|
||||
n => n.id === Number(this.notificationId)
|
||||
n => n.id === this.notificationId
|
||||
);
|
||||
return notificationIndex >= 0 ? notificationIndex + 1 : 0;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user