From a1b5f440981a3586bd7c4872802247eb1a8a59a2 Mon Sep 17 00:00:00 2001 From: Leonel Matos Date: Tue, 14 Jan 2020 18:02:53 -0400 Subject: [PATCH] remove recent items implementation from profile page (#222) * remove recent items implementation from profile page * remove call recent items data --- src/views/profile/components/RolesNavbar.vue | 1 - src/views/profile/components/recentItems.vue | 79 -------------------- src/views/profile/components/role.vue | 1 - src/views/profile/index.vue | 6 +- 4 files changed, 1 insertion(+), 86 deletions(-) delete mode 100644 src/views/profile/components/recentItems.vue diff --git a/src/views/profile/components/RolesNavbar.vue b/src/views/profile/components/RolesNavbar.vue index cffdec7d..e234e3a9 100644 --- a/src/views/profile/components/RolesNavbar.vue +++ b/src/views/profile/components/RolesNavbar.vue @@ -88,7 +88,6 @@ export default { }) this.$router.addRoutes(response) }) - this.$store.dispatch('getRecentItemsFromServer') }) this.$router.push({ path: '/' }) }, diff --git a/src/views/profile/components/recentItems.vue b/src/views/profile/components/recentItems.vue deleted file mode 100644 index 12733c8c..00000000 --- a/src/views/profile/components/recentItems.vue +++ /dev/null @@ -1,79 +0,0 @@ - - - diff --git a/src/views/profile/components/role.vue b/src/views/profile/components/role.vue index 567978e9..56e2d9c1 100644 --- a/src/views/profile/components/role.vue +++ b/src/views/profile/components/role.vue @@ -119,7 +119,6 @@ export default { }) this.$router.addRoutes(response) }) - this.$store.dispatch('getRecentItemsFromServer') }) }, changeLanguage(languageValue) { diff --git a/src/views/profile/index.vue b/src/views/profile/index.vue index 1e901d23..1a6902ce 100644 --- a/src/views/profile/index.vue +++ b/src/views/profile/index.vue @@ -13,9 +13,6 @@ - - - @@ -28,12 +25,11 @@