[client] update modal to take props

This commit is contained in:
geoffrey45
2022-03-27 18:16:49 +03:00
parent e8994ce9ae
commit 9ada6c9058
2 changed files with 9 additions and 2 deletions
+2 -1
View File
@@ -6,6 +6,7 @@
<div class="cancel image" @click="modal.hideModal"></div>
<NewPlaylist
v-if="modal.component == modal.options.newPlaylist"
:track="modal.props.track"
@hideModal="hideModal"
@title="title"
/>
@@ -38,7 +39,7 @@ function hideModal() {
<style lang="scss">
.new-playlist-modal {
position: fixed;
z-index: 2000;
z-index: 20;
height: 100vh;
width: 100vw;
display: grid;