debian-mirror-gitlab/app/assets/javascripts/cycle_analytics/store/getters.js

11 lines
336 B
JavaScript
Raw Normal View History

2021-09-04 01:27:46 +05:30
import { transformStagesForPathNavigation, filterStagesByHiddenStatus } from '../utils';
export const pathNavigationData = ({ stages, medians, stageCounts, selectedStage }) => {
return transformStagesForPathNavigation({
stages: filterStagesByHiddenStatus(stages, false),
medians,
stageCounts,
selectedStage,
});
};