From 096fb867612cd60302e1f65c18ef1de9bf8bff40 Mon Sep 17 00:00:00 2001 From: hay-kot Date: Tue, 30 Mar 2021 16:36:53 -0800 Subject: [PATCH] fix category auto-completes --- .../components/Recipe/RecipeEditor/index.vue | 23 +++++++++++-------- .../Recipe/RecipeViewer/RecipeChips.vue | 17 ++++++++++++++ frontend/src/store/index.js | 3 ++- 3 files changed, 32 insertions(+), 11 deletions(-) diff --git a/frontend/src/components/Recipe/RecipeEditor/index.vue b/frontend/src/components/Recipe/RecipeEditor/index.vue index dfa368e6e..e50d9080d 100644 --- a/frontend/src/components/Recipe/RecipeEditor/index.vue +++ b/frontend/src/components/Recipe/RecipeEditor/index.vue @@ -120,17 +120,19 @@ deletable-chips v-model="value.recipeCategory" hide-selected - :items="categories" + :items="allCategories" text="name" :search-input.sync="categoriesSearchInput" @change="categoriesSearchInput = ''" >