mirror of
https://github.com/koel/koel
synced 2024-11-24 13:13:05 +00:00
fix: Genre screen trying to refresh without a genre
This commit is contained in:
parent
b96e072c02
commit
0de19d09cf
1 changed files with 1 additions and 1 deletions
|
@ -150,5 +150,5 @@ onMounted(() => (name.value = getNameFromRoute()))
|
|||
watch(name, async () => name.value && await refresh())
|
||||
|
||||
// We can't really tell how/if the genres have been updated, so we just refresh the list
|
||||
eventBus.on('SONGS_UPDATED', async () => await refresh())
|
||||
eventBus.on('SONGS_UPDATED', async () => genre.value && await refresh())
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue