Dashboard: fix importing of GitHub project without description (#8229)

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
6.19.x
Oleksii Kurinnyi 2018-01-11 12:54:10 +02:00 committed by GitHub
parent 362607a21a
commit b6e99366bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ export class ImportGithubProjectService implements IEditingProgress {
const path = '/' + name.replace(/[^\w-_]/g, '_');
props.name = name;
props.displayName = name;
props.description = repository.description;
props.description = repository.description || '';
props.path = path;
props.category = '';