Fix current password id being available twice
This commit is contained in:
parent
c9e0c9b6cf
commit
2d4ea80c90
2 changed files with 3 additions and 3 deletions
|
|
@ -106,7 +106,7 @@ export default {
|
|||
listRoutePrefix() {
|
||||
let name = 'list'
|
||||
|
||||
if (this.$route.name.startsWith('list.')) {
|
||||
if (this.$route.name !== null && this.$route.name.startsWith('list.')) {
|
||||
name = this.$route.name
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue