Fixed ambiguous null check
This commit is contained in:
@@ -66,7 +66,7 @@ export default {
|
||||
},
|
||||
beforeRouteEnter(to, from, next) {
|
||||
next(vm => {
|
||||
if (from.name !== null)
|
||||
if (from.name != null)
|
||||
vm.previousRoute = from
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user