mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
add comments to some store functions
- some refactors to modals
This commit is contained in:
+6
-2
@@ -19,9 +19,13 @@ export default defineStore("newModal", {
|
||||
this.component = modalOption;
|
||||
this.visible = true;
|
||||
},
|
||||
showNewPlaylistModal(track: Track) {
|
||||
showNewPlaylistModal(track?: Track) {
|
||||
this.component = ModalOptions.newPlaylist;
|
||||
this.props.track = track;
|
||||
|
||||
if (track) {
|
||||
this.props.track = track;
|
||||
}
|
||||
|
||||
this.visible = true;
|
||||
},
|
||||
showEditPlaylistModal(playlist: Playlist) {
|
||||
|
||||
Reference in New Issue
Block a user