show System Collections in empty Data Model page (#8936)

This commit is contained in:
Azri Kahar
2021-10-19 23:30:43 +08:00
committed by GitHub
parent 1ebd95519f
commit 24c017184d

View File

@@ -27,7 +27,7 @@
</template>
<div class="padding-box">
<v-info v-if="collections.length === 0" type="warning" icon="box" :title="t('no_collections')" center>
<v-info v-if="collections.length === 0" type="warning" icon="box" :title="t('no_collections')">
{{ t('no_collections_copy_admin') }}
<template #append>
@@ -79,7 +79,7 @@
</v-list-item>
</v-list>
<v-detail v-if="collections.length > 0" :label="t('system_collections')">
<v-detail :label="t('system_collections')">
<collection-item
v-for="collection of systemCollections"
:key="collection.collection"
@@ -217,6 +217,10 @@ export default defineComponent({
padding-top: 0;
}
.v-info {
padding: var(--content-padding) 0;
}
.root-drag-container {
padding: 8px 0;
overflow: hidden;