Commit 35ec8642 authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

masquage des collections cachées dans le treeview

parent d449f6a7
Loading
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -325,7 +325,12 @@ export default new Vuex.Store({
            collections.forEach((c) => {
                if (c.children_count > 0)
                    c.children = []
            })
            });
            if (!context.getters.showHiddenCollections) {
                collections = collections.filter(c => {
                    return !c.title.startsWith('.')
                });
            }
            let item = findItem(id, context.state.collectionsTree);
            if (!item) {
                context.commit('setCollectionsTree', collections);