Commit 646e81c7 authored by Mikołaj Wawrzyniak's avatar Mikołaj Wawrzyniak

Merge branch '345605-hide-search-in-seat-usage' into 'master'

Hide search settings component in usage quota page

See merge request gitlab-org/gitlab!75712
parents f3d91f06 a37595f3
import SeatUsageApp from 'ee/seat_usage';
import initNamespaceStorage from 'ee/usage_quotas/storage/init_namespace_storage';
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