diff --git a/pages/dashboard/notifications.vue b/pages/dashboard/notifications.vue index 4cc5dfe929..10cc89ec0b 100644 --- a/pages/dashboard/notifications.vue +++ b/pages/dashboard/notifications.vue @@ -75,7 +75,7 @@ export default { this.$nuxt.$loading.start() try { - if (index) { + if (typeof index !== 'undefined') { const config = { method: notification.actions[index].action_route[0].toLowerCase(), url: `${notification.actions[index].action_route[1]}`,