style: 🎨 use long name for var
All checks were successful
repod / xml (push) Successful in 25s
repod / php (push) Successful in 51s
repod / nodejs (push) Successful in 1m5s
repod / release (push) Has been skipped

This commit is contained in:
Michel Roux 2024-12-11 13:58:11 +01:00
parent fe48683c52
commit 2a9e0a1d4d

View File

@ -151,8 +151,8 @@ export default {
watch: {
episode() {
if (this.episode) {
this.episodes = this.episodes.map((e) =>
e.url === this.episode?.url ? this.episode : e,
this.episodes = this.episodes.map((episode) =>
episode.url === this.episode?.url ? this.episode : episode,
)
}
},
@ -189,7 +189,9 @@ export default {
)
await axios.post(
generateUrl('/apps/gpoddersync/episode_action/create'),
this.episodes.filter((e) => e.selected).map((e) => e.action),
this.episodes
.filter((episode) => episode.selected)
.map((episode) => episode.action),
)
} catch (e) {
console.error(e)