Fixed library page janky loading
This commit is contained in:
@@ -44,20 +44,6 @@
|
||||
@select="val => $emit('select-library', library._id, val)"
|
||||
/>
|
||||
</v-list-group>
|
||||
<v-expand-transition>
|
||||
<v-row
|
||||
v-if="!$subReady.libraries"
|
||||
align="center"
|
||||
justify="center"
|
||||
class="pa-4"
|
||||
>
|
||||
<v-progress-circular
|
||||
indeterminate
|
||||
color="primary"
|
||||
size="32"
|
||||
/>
|
||||
</v-row>
|
||||
</v-expand-transition>
|
||||
</v-list>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -10,8 +10,10 @@
|
||||
xl="8"
|
||||
>
|
||||
<v-card :class="{'mb-4': libraryCollections && libraryCollections.length}">
|
||||
<library-list />
|
||||
<v-expand-transition>
|
||||
<v-fade-transition
|
||||
hide-on-leave
|
||||
leave-absolute
|
||||
>
|
||||
<v-row
|
||||
v-if="!$subReady.libraries"
|
||||
align="center"
|
||||
@@ -24,7 +26,8 @@
|
||||
size="32"
|
||||
/>
|
||||
</v-row>
|
||||
</v-expand-transition>
|
||||
<library-list v-else />
|
||||
</v-fade-transition>
|
||||
</v-card>
|
||||
<div class="layout justify-end mt-2">
|
||||
<v-btn
|
||||
|
||||
Reference in New Issue
Block a user