Merge branch '807-clicking-on-playlist-name-from-playlistmodal-does-nothing-if-current-page-is-that-playlist-s-page' into 'develop'

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

Closes #807

See merge request funkwhale/funkwhale!795
environments/review-front-deve-otr6gc/deployments/1920
Eliot Berriot 2019-06-24 11:04:05 +02:00
commit 25fb1b0376
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

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

Wyświetl plik

@ -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>