Fix current password id being available twice

This commit is contained in:
kolaente 2021-04-18 19:42:27 +02:00
parent c9e0c9b6cf
commit 2d4ea80c90
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
2 changed files with 3 additions and 3 deletions

View file

@ -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
}