[web] directory modal handling fix

This commit is contained in:
whatdoineed2do/Ray 2023-01-21 21:37:34 +00:00
parent 4f848948e7
commit dd1b39b347
3 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@
<teleport to="#app"> <teleport to="#app">
<modal-dialog-directory <modal-dialog-directory
:show="show_details_modal" :show="show_details_modal"
:directory="selected_directory.path" :directory="selected_directory"
@close="show_details_modal = false" @close="show_details_modal = false"
/> />
</teleport> </teleport>

View File

@ -6,7 +6,7 @@
<div class="modal-content fd-modal-card"> <div class="modal-content fd-modal-card">
<div class="card"> <div class="card">
<div class="card-content"> <div class="card-content">
<p class="title is-4" v-text="directory" /> <p class="title is-4" v-text="directory.path" />
</div> </div>
<footer class="card-footer"> <footer class="card-footer">
<a class="card-footer-item has-text-dark" @click="queue_add"> <a class="card-footer-item has-text-dark" @click="queue_add">

View File

@ -31,7 +31,7 @@
/> />
<modal-dialog-directory <modal-dialog-directory
:show="show_details_modal" :show="show_details_modal"
:directory="current_directory" :directory="{ path: current_directory }"
@close="show_details_modal = false" @close="show_details_modal = false"
/> />
</template> </template>