Fix empty dashboard props

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