You've already forked AstralRinth
forked from didirus/AstralRinth
Fix first notification not performing action (#262)
* Change IF statement to accept 0 * Get rid of console.log()
This commit is contained in:
@@ -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