On initUser the app tries to push items the router before it is initialized, which results in the error "Can't access property push, this.$router is undefined". We add optional chaining to prevent this from happening. Change-Id: I6e2bf6336c8e91682962154219fc1c0bc1dbeacbmaster
parent
abc25dc49c
commit
88aacb7fcb
Loading…
Reference in new issue