fix motion import ooddity

- lag due to undefined submitters
- additional text separator
This commit is contained in:
Maximilian Krambach 2019-04-15 12:42:20 +02:00
parent 2bd9172006
commit a670d85267
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[] = [
{ 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">
<mat-header-cell *matHeaderCellDef translate>Submitters</mat-header-cell>
<mat-cell *matCellDef="let entry">
<div *ngIf="entry.newEntry.csvSubmitters.length">
<div *ngIf="entry.newEntry.csvSubmitters && entry.newEntry.csvSubmitters.length">
<mat-icon
color="warn"
*ngIf="hasError(entry, 'Submitters')"