Commit a37595f3 authored by Ammar Alakkad's avatar Ammar Alakkad

Hide search settings component in usage quota page

Changelog: other
EE: true
parent f88acb6c
import SeatUsageApp from 'ee/seat_usage';
import storageCounter from 'ee/storage_counter';
import LinkedTabs from '~/lib/utils/bootstrap_linked_tabs';
import initSearchSettings from '~/search_settings';
const initLinkedTabs = () => {
if (!document.querySelector('.js-storage-tabs')) {
......@@ -27,4 +26,3 @@ const initVueApps = () => {
initVueApps();
initLinkedTabs();
initSearchSettings();
......@@ -14,6 +14,7 @@ class Groups::UsageQuotasController < Groups::ApplicationController
feature_category :purchase
def index
@hide_search_settings = true
@projects = @group.all_projects.with_shared_runners.page(params[:page])
end
......
......@@ -18,12 +18,4 @@ RSpec.describe 'User searches group settings', :js do
it_behaves_like 'can highlight results', 'Group Hooks'
end
context 'in Usage Quotas page' do
before do
visit group_usage_quotas_path(group)
end
it_behaves_like 'can highlight results', 'Usage of group'
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