mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-23 03:55:42 -04:00
[web] Lint source code
This commit is contained in:
parent
195135b1b6
commit
3f3ab829c0
@ -193,8 +193,8 @@ export default {
|
|||||||
const music = type !== 'audiobook' && type !== 'podcast'
|
const music = type !== 'audiobook' && type !== 'podcast'
|
||||||
const kind = music ? 'music' : type
|
const kind = music ? 'music' : type
|
||||||
const parameters = {
|
const parameters = {
|
||||||
type: music ? type : 'album',
|
limit: this.search_limit,
|
||||||
limit: this.search_limit
|
type: music ? type : 'album'
|
||||||
}
|
}
|
||||||
if (this.search_query.startsWith('query:')) {
|
if (this.search_query.startsWith('query:')) {
|
||||||
parameters.expression = `(${this.search_query.replace(/^query:/u, '').trim()}) and media_kind is ${kind}`
|
parameters.expression = `(${this.search_query.replace(/^query:/u, '').trim()}) and media_kind is ${kind}`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user