[web] Lint source code

This commit is contained in:
Alain Nussbaumer 2024-04-03 16:39:48 +02:00
parent 089df85c1d
commit 81d9b1723f
1 changed files with 1 additions and 4 deletions

View File

@ -59,10 +59,7 @@ export default {
computed: {
current() {
if (this.$route.query && this.$route.query.directory) {
return this.$route.query.directory
}
return '/'
return this.$route.query?.directory || '/'
}
},