mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
fix empty space on virtual scroll layout when the header has no content on folder page
This commit is contained in:
committed by
Mungai Njoroge
parent
8fe99a9b44
commit
9cbaa7ecff
@@ -1,7 +1,11 @@
|
||||
<template>
|
||||
<Layout :tracks="folder.tracks" @playFromPage="playFromPage">
|
||||
<template #header>
|
||||
<FolderList :folders="folder.dirs" v-if="folder.dirs.length" />
|
||||
<Layout
|
||||
:tracks="folder.tracks"
|
||||
:no_header="folder.dirs.length === 0"
|
||||
@playFromPage="playFromPage"
|
||||
>
|
||||
<template #header v-if="folder.dirs.length">
|
||||
<FolderList :folders="folder.dirs" />
|
||||
</template>
|
||||
</Layout>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user