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

utils.js « import_projects « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c2a2d5a607d7691a5e40dab3d6477f75134c86a4 (plain)
1
2
3
4
5
6
7
import { STATUSES } from './constants';

// Will be expanded in future
// eslint-disable-next-line import/prefer-default-export
export function isProjectImportable(project) {
  return project.importStatus === STATUSES.NONE && !project.importSource.incompatible;
}