mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-25 22:55:56 -05:00
[web] Lint source code
This commit is contained in:
parent
089df85c1d
commit
81d9b1723f
@ -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 || '/'
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user