Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a37595f3
Commit
a37595f3
authored
Dec 02, 2021
by
Ammar Alakkad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hide search settings component in usage quota page
Changelog: other EE: true
parent
f88acb6c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
10 deletions
+1
-10
ee/app/assets/javascripts/pages/groups/usage_quotas/index.js
ee/app/assets/javascripts/pages/groups/usage_quotas/index.js
+0
-2
ee/app/controllers/groups/usage_quotas_controller.rb
ee/app/controllers/groups/usage_quotas_controller.rb
+1
-0
ee/spec/features/groups/settings/user_searches_in_settings_spec.rb
...eatures/groups/settings/user_searches_in_settings_spec.rb
+0
-8
No files found.
ee/app/assets/javascripts/pages/groups/usage_quotas/index.js
View file @
a37595f3
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
();
ee/app/controllers/groups/usage_quotas_controller.rb
View file @
a37595f3
...
...
@@ -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
...
...
ee/spec/features/groups/settings/user_searches_in_settings_spec.rb
View file @
a37595f3
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment