mirror of
https://github.com/directus/directus.git
synced 2026-01-30 13:07:58 -05:00
Fix double-logic for retrieving system collections in related-collection-select (#14255)
This commit is contained in:
@@ -90,15 +90,7 @@ export default defineComponent({
|
||||
);
|
||||
});
|
||||
|
||||
const systemCollections = computed(() => {
|
||||
return orderBy(
|
||||
collectionsStore.crudSafeSystemCollections.filter((collection) => {
|
||||
return collection.collection.startsWith('directus_') === true;
|
||||
}),
|
||||
['collection'],
|
||||
['asc']
|
||||
);
|
||||
});
|
||||
const systemCollections = collectionsStore.crudSafeSystemCollections;
|
||||
|
||||
return { t, collectionExists, availableCollections, systemCollections };
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user