mirror of
https://github.com/directus/directus.git
synced 2026-02-17 09:42:19 -05:00
@@ -19,6 +19,11 @@ export const useCollectionsStore = createStore({
|
||||
.filter(({ collection }) => collection.startsWith('directus_') === false)
|
||||
.filter((collection) => collection.meta?.hidden !== true);
|
||||
},
|
||||
hiddenCollections: (state) => {
|
||||
return state.collections
|
||||
.filter(({ collection }) => collection.startsWith('directus_') === false)
|
||||
.filter((collection) => collection.meta?.hidden !== false);
|
||||
},
|
||||
},
|
||||
actions: {
|
||||
async hydrate() {
|
||||
|
||||
Reference in New Issue
Block a user