From 66457d5487c52fbc9bbc7d54ca11cc86d0671973 Mon Sep 17 00:00:00 2001 From: Seth Ladygo Date: Wed, 29 May 2019 00:38:50 -0700 Subject: [PATCH] cateditor: remove unnecessary 'sections' getter --- cateditor/src/components/CatalogContents.vue | 3 +-- cateditor/src/pages/editor/store/index.js | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/cateditor/src/components/CatalogContents.vue b/cateditor/src/components/CatalogContents.vue index 4320d0d..54882db 100644 --- a/cateditor/src/components/CatalogContents.vue +++ b/cateditor/src/components/CatalogContents.vue @@ -15,7 +15,7 @@
-
+
{ - return state.catalog.sections - }, - section: state => id => { return state.catalog.sections.find(s => s.id === id) },