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', () => {
vulnerabilitiesHistoryEndpoint,
vulnerabilitiesSummaryEndpoint,
vulnerabilityFeedbackHelpPath,
securityDashboardHelpPath,
emptyStateIllustrationPath,
} = securityTab.dataset;
const parsedPipelineId = parseInt(pipelineId, 10);
......@@ -41,8 +43,8 @@ document.addEventListener('DOMContentLoaded', () => {
vulnerabilitiesHistoryEndpoint,
vulnerabilitiesSummaryEndpoint,
vulnerabilityFeedbackHelpPath,
securityDashboardHelpPath: dashboardDocumentation,
emptyStateIllustrationPath: emptyStateSvgPath,
securityDashboardHelpPath,
emptyStateIllustrationPath,
};
if (parsedHasPipelineData) {
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