diff --git a/frontend/src/components/Recipe/RecipeViewer/RecipeChips.vue b/frontend/src/components/Recipe/RecipeViewer/RecipeChips.vue index 5ac8d193b..508d9a5f1 100644 --- a/frontend/src/components/Recipe/RecipeViewer/RecipeChips.vue +++ b/frontend/src/components/Recipe/RecipeViewer/RecipeChips.vue @@ -31,6 +31,7 @@ export default { }, methods: { getSlug(name) { + if (!name) return; if (this.category) { const matches = this.allCategories.filter(x => x.name == name); if (matches.length > 0) return matches[0].slug;