Merge pull request #4600 from MaximilianKrambach/importfix

fix motion import oddity
This commit is contained in:
Maximilian Krambach 2019-04-15 16:10:40 +02:00 committed by GitHub
commit 72c3f27dba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -111,7 +111,8 @@ export abstract class BaseImportService<V extends BaseViewModel> {
*/ */
public textSeparators: ValueLabelCombination[] = [ public textSeparators: ValueLabelCombination[] = [
{ label: 'Double quotes (")', value: '"' }, { label: 'Double quotes (")', value: '"' },
{ label: "Single quotes (')", value: "'" } { label: "Single quotes (')", value: "'" },
{ label: 'Gravis (`)', value: '`' }
]; ];
/** /**

View File

@ -190,7 +190,7 @@
<ng-container matColumnDef="submitters"> <ng-container matColumnDef="submitters">
<mat-header-cell *matHeaderCellDef translate>Submitters</mat-header-cell> <mat-header-cell *matHeaderCellDef translate>Submitters</mat-header-cell>
<mat-cell *matCellDef="let entry"> <mat-cell *matCellDef="let entry">
<div *ngIf="entry.newEntry.csvSubmitters.length"> <div *ngIf="entry.newEntry.csvSubmitters && entry.newEntry.csvSubmitters.length">
<mat-icon <mat-icon
color="warn" color="warn"
*ngIf="hasError(entry, 'Submitters')" *ngIf="hasError(entry, 'Submitters')"