Change else{ to else {

This commit is contained in:
Amaru8 2022-04-30 21:29:44 +02:00
parent 422c869568
commit 48cce96bea
10 changed files with 16 additions and 16 deletions

View file

@ -185,7 +185,7 @@
} else {
return this.item.attributes.playParams.kind
}
} else{
} else {
return this.item.type
}
},

View file

@ -97,7 +97,7 @@
if (this.item.attributes.playParams.kind.includes("radioStation") && (this.item.attributes.playParams.streamingKind == 1 || this.item.attributes.playParams.streamingKind == 2)) {
this.unavailable = true
}
} else{
} else {
if (this.item.type == "music-movies" || this.item.type == "tv-episodes") {
this.unavailable = true
}
@ -234,7 +234,7 @@
}
if (!includeUrl) {
return artwork
} else{
} else {
return `url("${artwork}")`
}
},
@ -474,7 +474,7 @@
if (self.addedToLibrary) {
menus.normal.items.find(x => x.id == 'addToLibrary').hidden = true
menus.normal.items.find(x => x.id == 'removeFromLibrary').hidden = false
} else{
} else {
menus.normal.items.find(x => x.id == 'addToLibrary').disabled = false
}
})

View file

@ -134,7 +134,7 @@
bootbox.confirm(app.getLz("settings.prompt.visual.plugin.github.success"), (ok)=>{
if (ok) {
ipcRenderer.invoke("relaunchApp")
} else{
} else {
return
}
})
@ -156,7 +156,7 @@
bootbox.confirm(app.getLz("settings.prompt.visual.plugin.github.success"), (ok)=>{
if (ok) {
ipcRenderer.invoke("relaunchApp")
} else{
} else {
return
}
})

View file

@ -1542,7 +1542,7 @@
this.tabIndex = parseInt(window.location.hash.split("/")[1])
console.debug("tabIndex", this.tabIndex)
this.canChangeHash = true
} else{
} else {
this.canChangeHash = true
}
})