From 8b2f65637240ae4760902e3f7b8d2e30de278939 Mon Sep 17 00:00:00 2001 From: iamsivin Date: Tue, 13 Feb 2024 22:32:43 +0530 Subject: [PATCH] chore: Clean up --- app/javascript/dashboard/routes/dashboard/inbox/InboxDetail.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/dashboard/routes/dashboard/inbox/InboxDetail.vue b/app/javascript/dashboard/routes/dashboard/inbox/InboxDetail.vue index 6b928396f..65ceae65e 100644 --- a/app/javascript/dashboard/routes/dashboard/inbox/InboxDetail.vue +++ b/app/javascript/dashboard/routes/dashboard/inbox/InboxDetail.vue @@ -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; },