From 870f03b227ff92aab8cae22aa9ecd31e09b70b43 Mon Sep 17 00:00:00 2001 From: zeot Date: Sat, 22 Sep 2018 15:01:30 +0300 Subject: [PATCH] Rename of method in Categories component --- front/client/components/Categories.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/front/client/components/Categories.vue b/front/client/components/Categories.vue index 139445f..30a8eec 100644 --- a/front/client/components/Categories.vue +++ b/front/client/components/Categories.vue @@ -120,11 +120,11 @@ export default class Categories extends Vue { get groups() { const groupedByGroupName: object = _groupBy(this.categories, 'group') Object.entries(groupedByGroupName).forEach(([key, value]: [string, ICategory[]]) => { - groupedByGroupName[key] = this.groupByCategoriesByStatus(value) + groupedByGroupName[key] = this.groupCategoriesByStatus(value) }) return groupedByGroupName } - groupByCategoriesByStatus(categories: ICategory[]): object { + groupCategoriesByStatus(categories: ICategory[]): object { return _groupBy(categories, 'status') } getCategoryUrl(category: ICategory): string {