Move top matter above error

cache
Varun Patil 2022-10-10 17:10:44 -07:00
parent 555aa01726
commit 9c6522480f
1 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,12 @@
<template>
<div class="container" ref="container" :class="{ 'icon-loading': loading > 0 }">
<!-- Static top matter -->
<div ref="topmatter" class="top-matter" v-if="topMatterType">
<FolderTopMatter v-if="topMatterType === 1" />
<TagTopMatter v-else-if="topMatterType === 2" />
<FaceTopMatter v-else-if="topMatterType === 3" />
</div>
<!-- No content found and nothing is loading -->
<NcEmptyContent title="Nothing to show here" v-if="loading === 0 && list.length === 0">
<template #icon>
@ -9,13 +16,6 @@
</template>
</NcEmptyContent>
<!-- Static top matter -->
<div ref="topmatter" class="top-matter" v-if="topMatterType">
<FolderTopMatter v-if="topMatterType === 1" />
<TagTopMatter v-else-if="topMatterType === 2" />
<FaceTopMatter v-else-if="topMatterType === 3" />
</div>
<!-- Main recycler view for rows -->
<RecycleScroller
ref="recycler"