diff --git a/webapp/components/_new/features/SearchResults/SearchResults.vue b/webapp/components/_new/features/SearchResults/SearchResults.vue index 54e3f73a4..7c6890619 100644 --- a/webapp/components/_new/features/SearchResults/SearchResults.vue +++ b/webapp/components/_new/features/SearchResults/SearchResults.vue @@ -54,8 +54,16 @@ export default { }, tabOptions() { return [ - { type: 'Post', title: `${this.posts.length} Posts` }, - { type: 'User', title: `${this.users.length} Users` }, + { + type: 'Post', + title: `${this.posts.length} Posts`, + disabled: !this.posts.length, + }, + { + type: 'User', + title: `${this.users.length} Users`, + disabled: !this.users.length, + }, ] }, }, diff --git a/webapp/components/_new/generic/TabNavigation/TabNavigation.vue b/webapp/components/_new/generic/TabNavigation/TabNavigation.vue index a039efa58..bd6d2bc5c 100644 --- a/webapp/components/_new/generic/TabNavigation/TabNavigation.vue +++ b/webapp/components/_new/generic/TabNavigation/TabNavigation.vue @@ -3,7 +3,7 @@