Fix first notification not performing action (#262)
* Change IF statement to accept 0 * Get rid of console.log()
This commit is contained in:
1 parent
d174602cc0
commit
566833da6e
1 file changed
+1
-1
@@ -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]}`,
|
||||
|
||||
Reference in new issue
Block a user