cateditor: remove unnecessary 'sections' getter

This commit is contained in:
Seth Ladygo
2019-05-29 00:38:50 -07:00
parent bfab1757cc
commit 66457d5487
2 changed files with 1 additions and 6 deletions

View File

@ -15,7 +15,7 @@
</DragListHeading>
<div id="sections" class="list-group">
<div v-for="item in sections" :key="item.id">
<div v-for="item in catalog.sections" :key="item.id">
<v-hover :key="item.id">
<v-list-tile
slot-scope="{ hover }"
@ -186,7 +186,6 @@ export default {
]),
...mapGetters([
'section',
'sections',
'selectedSection',
'selectedModel',
'selectedMaterial',

View File

@ -30,10 +30,6 @@ export const store = new Vuex.Store({
return state.materials[id]
},
sections: state => {
return state.catalog.sections
},
section: state => id => {
return state.catalog.sections.find(s => s.id === id)
},