Welcome to mirror list, hosted at ThFree Co, Russian Federation.

getters.js « store « commit « projects « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e0c36df8a75f713ecfa318531b40106f138f61bd (plain)
1
2
3
4
5
6
7
import { uniq } from 'lodash';

export const joinedBranches = (state) => {
  return uniq(state.branches).sort();
};

export const sortedProjects = (state) => uniq(state.projects).sort();