Skip to content

Commit 640d133

Browse files
authored
Merge pull request #445 from Breeding-Insight/feature/BI-2628
[BI-2628] Replace Static ObsUnitID column to Dynamic Sub-entity ObsUnitID column in APpend Workflow
2 parents 4b5c76d + acf2a6c commit 640d133

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/views/import/ImportExperiment.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ export default class ImportExperiment extends ProgramsBase {
315315
}
316316
317317
previewDataLoaded(dynamicColumns: String[]) {
318-
this.phenotypeColumns = dynamicColumns;
318+
this.phenotypeColumns = dynamicColumns.filter(name => !name.includes('ObsUnitID'));
319319
this.createObservationIndexMap();
320320
}
321321
@@ -357,7 +357,6 @@ export default class ImportExperiment extends ProgramsBase {
357357
358358
cellClassIfExisting(row: any, column: any) {
359359
const index = column.meta.index
360-
361360
if(row.data.observations[this.observationIndexMap.get(index)!].state === 'MUTATED') {
362361
return {'class': 'db-filled'};
363362
}

0 commit comments

Comments
 (0)