diff --git a/front/src/components/playlists/PlaylistModal.vue b/front/src/components/playlists/PlaylistModal.vue index b470eb5ce..5fdf585df 100644 --- a/front/src/components/playlists/PlaylistModal.vue +++ b/front/src/components/playlists/PlaylistModal.vue @@ -1,53 +1,66 @@ @@ -100,6 +113,11 @@ export default { p.reverse() return p } + }, + watch: { + '$store.state.route.path' () { + this.$store.commit('playlists/showModal', false) + } } } diff --git a/front/src/views/playlists/Detail.vue b/front/src/views/playlists/Detail.vue index fc27b7126..1f3caa494 100644 --- a/front/src/views/playlists/Detail.vue +++ b/front/src/views/playlists/Detail.vue @@ -1,6 +1,9 @@