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
f467244c
Commit
f467244c
authored
Jun 25, 2020
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move localStorage key to a constants file
parent
a5845965
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
ee/app/assets/javascripts/security_dashboard/components/security_reports_summary.vue
...ecurity_dashboard/components/security_reports_summary.vue
+1
-2
ee/app/assets/javascripts/security_dashboard/constants.js
ee/app/assets/javascripts/security_dashboard/constants.js
+3
-0
No files found.
ee/app/assets/javascripts/security_dashboard/components/security_reports_summary.vue
View file @
f467244c
...
...
@@ -3,8 +3,7 @@ import { GlButton, GlCard, GlCollapse, GlCollapseToggleDirective, GlSprintf } fr
import
{
__
}
from
'
~/locale
'
;
import
AccessorUtilities
from
'
~/lib/utils/accessor
'
;
import
{
getFormattedSummary
}
from
'
../helpers
'
;
const
LOCAL_STORAGE_KEY
=
'
hide_pipelines_security_reports_summary_details
'
;
import
{
COLLAPSE_SECURITY_REPORTS_SUMMARY_LOCAL_STORAGE_KEY
as
LOCAL_STORAGE_KEY
}
from
'
../constants
'
;
export
default
{
name
:
'
SecurityReportsSummary
'
,
...
...
ee/app/assets/javascripts/security_dashboard/constants.js
0 → 100644
View file @
f467244c
/* eslint-disable import/prefer-default-export */
export
const
COLLAPSE_SECURITY_REPORTS_SUMMARY_LOCAL_STORAGE_KEY
=
'
hide_pipelines_security_reports_summary_details
'
;
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