Fix empty dashboard props

parent e926d44e
...@@ -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