From b57b4c6e45ca612a890e594942e86faab5a946e0 Mon Sep 17 00:00:00 2001 From: dave Date: Fri, 8 Feb 2019 05:31:06 -0500 Subject: [PATCH] #291 - disable empty tabs in user profile panel --- src/components/tab_switcher/tab_switcher.js | 2 +- src/components/user_profile/user_profile.vue | 7 +++++-- .../entity_normalizer/entity_normalizer.service.js | 2 ++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/tab_switcher/tab_switcher.js b/src/components/tab_switcher/tab_switcher.js index f9c3f927..423df258 100644 --- a/src/components/tab_switcher/tab_switcher.js +++ b/src/components/tab_switcher/tab_switcher.js @@ -37,7 +37,7 @@ export default Vue.component('tab-switcher', { return (
- +
) }) diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue index 9001ed00..7a1e6a18 100644 --- a/src/components/user_profile/user_profile.vue +++ b/src/components/user_profile/user_profile.vue @@ -9,19 +9,20 @@ -
+
-
+
@@ -29,6 +30,7 @@
{ output.locked = data.locked output.followers_count = data.followers_count output.statuses_count = data.statuses_count + output.favourites_count = data.favourites_count + output.media_count = data.media_count output.friends = [] output.followers = []