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
a5558624
Commit
a5558624
authored
Mar 24, 2021
by
Savas Vedova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename first_class_init to vulnerability_report_init
parent
67e85882
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
18 deletions
+7
-18
ee/app/assets/javascripts/pages/groups/security/vulnerabilities/index/index.js
...ipts/pages/groups/security/vulnerabilities/index/index.js
+2
-7
ee/app/assets/javascripts/pages/projects/security/vulnerability_report/index.js
...pts/pages/projects/security/vulnerability_report/index.js
+2
-5
ee/app/assets/javascripts/pages/security/vulnerabilities/index/index.js
...javascripts/pages/security/vulnerabilities/index/index.js
+2
-5
ee/app/assets/javascripts/security_dashboard/vulnerability_report_init.js
...vascripts/security_dashboard/vulnerability_report_init.js
+0
-0
ee/spec/frontend_integration/security_dashboard/first_class_init_integration_spec.js
...n/security_dashboard/first_class_init_integration_spec.js
+1
-1
No files found.
ee/app/assets/javascripts/pages/groups/security/vulnerabilities/index/index.js
View file @
a5558624
import
initFirstClassSecurityDashboard
from
'
ee/security_dashboard/first_class_init
'
;
import
{
DASHBOARD_TYPES
}
from
'
ee/security_dashboard/store/constants
'
;
import
vulnerabilityReportInit
from
'
ee/security_dashboard/vulnerability_report_init
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
initFirstClassSecurityDashboard
(
document
.
getElementById
(
'
js-group-vulnerabilities
'
),
DASHBOARD_TYPES
.
GROUP
,
);
});
vulnerabilityReportInit
(
document
.
getElementById
(
'
js-group-vulnerabilities
'
),
DASHBOARD_TYPES
.
GROUP
);
ee/app/assets/javascripts/pages/projects/security/vulnerability_report/index.js
View file @
a5558624
import
initFirstClassSecurityDashboard
from
'
ee/security_dashboard/first_class_init
'
;
import
{
DASHBOARD_TYPES
}
from
'
ee/security_dashboard/store/constants
'
;
import
vulnerabilityReportInit
from
'
ee/security_dashboard/vulnerability_report_init
'
;
initFirstClassSecurityDashboard
(
document
.
getElementById
(
'
js-security-report-app
'
),
DASHBOARD_TYPES
.
PROJECT
,
);
vulnerabilityReportInit
(
document
.
getElementById
(
'
js-security-report-app
'
),
DASHBOARD_TYPES
.
PROJECT
);
ee/app/assets/javascripts/pages/security/vulnerabilities/index/index.js
View file @
a5558624
import
initFirstClassSecurityDashboard
from
'
ee/security_dashboard/first_class_init
'
;
import
{
DASHBOARD_TYPES
}
from
'
ee/security_dashboard/store/constants
'
;
import
vulnerabilityReportInit
from
'
ee/security_dashboard/vulnerability_report_init
'
;
initFirstClassSecurityDashboard
(
document
.
getElementById
(
'
js-vulnerabilities
'
),
DASHBOARD_TYPES
.
INSTANCE
,
);
vulnerabilityReportInit
(
document
.
getElementById
(
'
js-vulnerabilities
'
),
DASHBOARD_TYPES
.
INSTANCE
);
ee/app/assets/javascripts/security_dashboard/
first_class
_init.js
→
ee/app/assets/javascripts/security_dashboard/
vulnerability_report
_init.js
View file @
a5558624
File moved
ee/spec/frontend_integration/security_dashboard/first_class_init_integration_spec.js
View file @
a5558624
import
initVulnerabilityReport
from
'
ee/security_dashboard/first_class_init
'
;
import
{
DASHBOARD_TYPES
}
from
'
ee/security_dashboard/store/constants
'
;
import
initVulnerabilityReport
from
'
ee/security_dashboard/vulnerability_report_init
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
const
EMPTY_DIV
=
document
.
createElement
(
'
div
'
);
...
...
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