Commit ce0e18c4 authored by Angelo Gulina's avatar Angelo Gulina Committed by Jose Ivan Vargas

Remove heading from Feature Flags section

parent 9a1a4e25
...@@ -132,10 +132,6 @@ export default { ...@@ -132,10 +132,6 @@ export default {
currentlyDisplayedData() { currentlyDisplayedData() {
return this.dataForScope(this.scope); return this.dataForScope(this.scope);
}, },
shouldRenderTabs() {
/* Do not show tabs until after the first request to get the count */
return this.count[this.scope] !== undefined;
},
shouldRenderPagination() { shouldRenderPagination() {
return ( return (
!this.isLoading && !this.isLoading &&
...@@ -257,9 +253,9 @@ export default { ...@@ -257,9 +253,9 @@ export default {
modal-id="configure-feature-flags" modal-id="configure-feature-flags"
@token="rotateInstanceId()" @token="rotateInstanceId()"
/> />
<h3 class="page-title with-button"> <div class="top-area">
{{ s__('FeatureFlags|Feature Flags') }} <navigation-tabs :tabs="tabs" scope="featureflags" @onChangeTab="onChangeTab" />
<div class="pull-right"> <div class="nav-controls">
<gl-button <gl-button
v-if="canUserConfigure" v-if="canUserConfigure"
v-gl-modal="'configure-feature-flags'" v-gl-modal="'configure-feature-flags'"
...@@ -280,7 +276,7 @@ export default { ...@@ -280,7 +276,7 @@ export default {
{{ s__('FeatureFlags|New feature flag') }} {{ s__('FeatureFlags|New feature flag') }}
</gl-button> </gl-button>
</div> </div>
</h3> </div>
<gl-alert v-if="!isUserListAlertDismissed" @dismiss="isUserListAlertDismissed = true"> <gl-alert v-if="!isUserListAlertDismissed" @dismiss="isUserListAlertDismissed = true">
<gl-sprintf <gl-sprintf
:message=" :message="
...@@ -305,10 +301,6 @@ export default { ...@@ -305,10 +301,6 @@ export default {
{{ message }} {{ message }}
</gl-alert> </gl-alert>
<div v-if="shouldRenderTabs" class="top-area scrolling-tabs-container inner-page-scroll-tabs">
<navigation-tabs :tabs="tabs" scope="featureflags" @onChangeTab="onChangeTab" />
</div>
<gl-loading-icon <gl-loading-icon
v-if="isLoading" v-if="isLoading"
:label="s__('FeatureFlags|Loading feature flags')" :label="s__('FeatureFlags|Loading feature flags')"
......
---
title: Remove heading from Feature Flags section
merge_request: 37613
author:
type: changed
...@@ -81,7 +81,6 @@ module FeatureFlagHelpers ...@@ -81,7 +81,6 @@ module FeatureFlagHelpers
end end
def expect_user_to_see_feature_flags_index_page def expect_user_to_see_feature_flags_index_page
expect(page).to have_css('h3.page-title', text: 'Feature Flags')
expect(page).to have_text('Feature Flags') expect(page).to have_text('Feature Flags')
expect(page).to have_text('Lists') expect(page).to have_text('Lists')
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment