Commit 44b5b610 authored by Jérémy Destin's avatar Jérémy Destin
Browse files

Fix lint

parent 887f3a67
......@@ -39,7 +39,7 @@ export class GermplasmResultPageComponent implements OnInit {
'countryOfOriginCode'];
elementPerPage: number[] = [15, 20, 25];
loading: boolean;
overLimitSizeExport: boolean = false;
overLimitSizeExport = false;
fieldSortState: object = {
germplasmName: null,
accessionNumber: null,
......@@ -82,7 +82,7 @@ export class GermplasmResultPageComponent implements OnInit {
this.germplasmSearchCriteria$
.subscribe(criteria => {
this.overLimitSizeExport = false
this.overLimitSizeExport = false;
this.localCriteria = criteria;
this.searchGermplasm(this.localCriteria);
});
......@@ -132,9 +132,8 @@ export class GermplasmResultPageComponent implements OnInit {
if (result) {
const blob = new Blob([result], { type: 'text/plain;charset=utf-8' });
saveAs(blob, 'germplasm.gnpis.csv');
}
else {
this.overLimitSizeExport = true
} else {
this.overLimitSizeExport = true;
}
this.loading = false;
},
......
......@@ -15,7 +15,7 @@
],
"template-cyclomatic-complexity": [
true,
12
13
]
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment