Loading src/store/JamaStore.js +6 −1 Original line number Diff line number Diff line Loading @@ -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); Loading Loading
src/store/JamaStore.js +6 −1 Original line number Diff line number Diff line Loading @@ -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); Loading