Changed if() to if ()

This commit is contained in:
Amaru8 2022-04-30 21:27:00 +02:00
parent 91ac19974c
commit 9c85fafd1d
22 changed files with 44 additions and 44 deletions

View file

@ -172,7 +172,7 @@
}
}
}
if(this.app.cfg.home.followedArtists.includes(self.data.id)) {
if (this.app.cfg.home.followedArtists.includes(self.data.id)) {
followAction = "unfollow"
}
app.showMenuPanel({

View file

@ -132,7 +132,7 @@
self.themes = []
notyf.success(app.getLz('settings.notyf.visual.plugin.install.success'));
bootbox.confirm(app.getLz("settings.prompt.visual.plugin.github.success"), (ok)=>{
if(ok) {
if (ok) {
ipcRenderer.invoke("relaunchApp")
}else{
return
@ -154,7 +154,7 @@
if (arg.success) {
self.themes = ipcRenderer.sendSync("get-themes")
bootbox.confirm(app.getLz("settings.prompt.visual.plugin.github.success"), (ok)=>{
if(ok) {
if (ok) {
ipcRenderer.invoke("relaunchApp")
}else{
return

View file

@ -187,7 +187,7 @@
},
searchPodcasts() {
let self = this
if(this.search.term == "") {
if (this.search.term == "") {
return
}
app.mk.api.v3.podcasts("/v1/catalog/us/search", {term: this.search.term, types: ["podcasts"], limit: 25}).then(response => {
@ -227,7 +227,7 @@
async getNextEpisodes(next, podcastId) {
let podcastShow = await app.mk.api.v3.podcasts(next)
if(podcastId != this.podcastSelected.id) {
if (podcastId != this.podcastSelected.id) {
return
}
podcastShow.data.data.forEach(ep => {