hide folder-collections in permissions settings (#8939)

This commit is contained in:
Azri Kahar
2021-10-19 23:20:04 +08:00
committed by GitHub
parent ac3e11ebb9
commit 1ebd95519f

View File

@@ -97,7 +97,9 @@ export default defineComponent({
const collectionsStore = useCollectionsStore();
const regularCollections = computed(() =>
collectionsStore.collections.filter((collection) => collection.collection.startsWith('directus_') === false)
collectionsStore.collections.filter(
(collection) => collection.collection.startsWith('directus_') === false && collection.schema
)
);
const systemCollections = computed(() =>