-
-
+
+
{{ groupName }}
+
-
-
- Add new category
-
+
@@ -76,6 +83,7 @@
import Vue from 'vue'
import Component from 'vue-class-component'
import AddCategoryDialog from 'client/components/AddCategoryDialog.vue'
+import AddCategoryBtn from 'client/components/AddCategoryBtn.vue'
import _groupBy from 'lodash/groupBy'
import _sortBy from 'lodash/sortBy'
import _fromPairs from 'lodash/fromPairs'
@@ -84,7 +92,8 @@ import { ICategoryInfo, CategoryStatus } from 'client/service/Category'
@Component({
components: {
- AddCategoryDialog
+ AddCategoryDialog,
+ AddCategoryBtn
}
})
export default class Categories extends Vue {
diff --git a/front/client/components/CategoryDescription.vue b/front/client/components/CategoryDescription.vue
index d4f3c56..4004f8e 100644
--- a/front/client/components/CategoryDescription.vue
+++ b/front/client/components/CategoryDescription.vue
@@ -6,12 +6,14 @@
v-else
v-html="categoryDescription"
class="category-description__content"
+ data-testid="CategoryDescription-Content"
/>