6 lines
183 B
JavaScript
6 lines
183 B
JavaScript
function createOpportunitiesDashboardState({ STAGE_OPTIONS } = {}) {
|
|
return {
|
|
stageDashboardAmounts: new Map([["TOTAL", 0], ...STAGE_OPTIONS.map((stage) => [stage, 0])])
|
|
};
|
|
}
|