From eb242ef7395386adb91e7b42f16f504bc11ff0d5 Mon Sep 17 00:00:00 2001 From: Mateus Machado Luna Date: Wed, 16 Oct 2019 15:21:07 -0300 Subject: [PATCH] Adds textual search to collections list. --- .../components/lists/activities-list.vue | 6 +-- src/admin/pages/lists/activities-page.vue | 4 +- src/admin/pages/lists/collections-page.vue | 54 ++++++++++++++++--- src/js/store/modules/collection/actions.js | 35 ++++++------ 4 files changed, 71 insertions(+), 28 deletions(-) diff --git a/src/admin/components/lists/activities-list.vue b/src/admin/components/lists/activities-list.vue index 4e69c8c81..f699fe642 100644 --- a/src/admin/components/lists/activities-list.vue +++ b/src/admin/components/lists/activities-list.vue @@ -154,9 +154,9 @@ 'approve', 'notApprove' ]), - getThis(){ - return this; - }, + // getThis(){ + // return this; + // }, approveActivity(activity) { this.approve(activity.id) .then(data => { diff --git a/src/admin/pages/lists/activities-page.vue b/src/admin/pages/lists/activities-page.vue index f00230940..f893e1675 100644 --- a/src/admin/pages/lists/activities-page.vue +++ b/src/admin/pages/lists/activities-page.vue @@ -456,7 +456,7 @@