Commit abd4e1e2 authored by Fatih Acet's avatar Fatih Acet

Merge branch 'empty-dashboard-missing-props' into 'master'

Fix empty security dashboard props

See merge request gitlab-org/gitlab-ee!14186
parents 7fba158f ddac8fbe
...@@ -26,6 +26,8 @@ document.addEventListener('DOMContentLoaded', () => { ...@@ -26,6 +26,8 @@ document.addEventListener('DOMContentLoaded', () => {
vulnerabilitiesHistoryEndpoint, vulnerabilitiesHistoryEndpoint,
vulnerabilitiesSummaryEndpoint, vulnerabilitiesSummaryEndpoint,
vulnerabilityFeedbackHelpPath, vulnerabilityFeedbackHelpPath,
securityDashboardHelpPath,
emptyStateIllustrationPath,
} = securityTab.dataset; } = securityTab.dataset;
const parsedPipelineId = parseInt(pipelineId, 10); const parsedPipelineId = parseInt(pipelineId, 10);
...@@ -41,8 +43,8 @@ document.addEventListener('DOMContentLoaded', () => { ...@@ -41,8 +43,8 @@ document.addEventListener('DOMContentLoaded', () => {
vulnerabilitiesHistoryEndpoint, vulnerabilitiesHistoryEndpoint,
vulnerabilitiesSummaryEndpoint, vulnerabilitiesSummaryEndpoint,
vulnerabilityFeedbackHelpPath, vulnerabilityFeedbackHelpPath,
securityDashboardHelpPath: dashboardDocumentation, securityDashboardHelpPath,
emptyStateIllustrationPath: emptyStateSvgPath, emptyStateIllustrationPath,
}; };
if (parsedHasPipelineData) { if (parsedHasPipelineData) {
props = { props = {
......
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