Resolve "Clicking on playlist name from PlaylistModal does nothing if current page is that playlist's page"

This commit is contained in:
Ciarán Ainsworth 2019-06-24 11:04:05 +02:00 committed by Eliot Berriot
parent a05106437c
commit 79ced9514a
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
Clicking on the currently selected playlist in the Playlist popup will now close the popup (#807)

View File

@ -57,7 +57,7 @@
:to="{name: 'library.playlists.detail', params: {id: playlist.id }, query: {mode: 'edit'}}"><i class="ui pencil icon"></i></router-link>
</td>
<td :title="playlist.name">
<router-link :to="{name: 'library.playlists.detail', params: {id: playlist.id }}">{{ playlist.name }}</router-link></td>
<router-link v-on:click.native="update(false)" :to="{name: 'library.playlists.detail', params: {id: playlist.id }}">{{ playlist.name }}</router-link></td>
<td><human-date :date="playlist.modification_date"></human-date></td>
<td>{{ playlist.tracks_count }}</td>
<td>