fix add to playlist modal bugs

This commit is contained in:
Bnyro 2022-09-18 16:29:12 +02:00
parent e98e132598
commit 7c48b4641a
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
<template>
<ModalComponent>
<span class="text-2xl w-max inline-block" v-t="'actions.select_playlist'" />
<h2 v-t="'actions.select_playlist'" />
<select class="select w-full mt-3" v-model="selectedPlaylist">
<option v-for="playlist in playlists" :value="playlist.id" :key="playlist.id" v-text="playlist.name" />
</select>

View file

@ -73,7 +73,6 @@
>
<font-awesome-icon icon="circle-minus" />
</button>
<PlaylistAddModal v-if="showModal" :video-id="video.url.substr(-11)" @close="showModal = !showModal" />
</div>
<div class="flex">
@ -111,6 +110,7 @@
</div>
</div>
</div>
<PlaylistAddModal v-if="showModal" :video-id="video.url.substr(-11)" @close="showModal = !showModal" />
</template>
<style>