|
@@ -158,7 +158,7 @@
|
|
</table>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<import-album v-if="modals.importAlbum" />
|
|
<import-album v-if="modals.importAlbum" />
|
|
- <edit-song v-if="modals.editSong" song-type="songs" />
|
|
|
|
|
|
+ <edit-song v-if="modals.editSong" song-type="songs" :key="song._id" />
|
|
<request-song v-if="modals.requestSong" />
|
|
<request-song v-if="modals.requestSong" />
|
|
<floating-box
|
|
<floating-box
|
|
id="keyboardShortcutsHelper"
|
|
id="keyboardShortcutsHelper"
|
|
@@ -375,6 +375,9 @@ export default {
|
|
...mapState("admin/verifiedSongs", {
|
|
...mapState("admin/verifiedSongs", {
|
|
songs: state => state.songs
|
|
songs: state => state.songs
|
|
}),
|
|
}),
|
|
|
|
+ ...mapState("modals/editSong", {
|
|
|
|
+ song: state => state.song
|
|
|
|
+ }),
|
|
...mapGetters({
|
|
...mapGetters({
|
|
socket: "websockets/getSocket"
|
|
socket: "websockets/getSocket"
|
|
})
|
|
})
|