Commit 4b468d59 authored by Maud Marty's avatar Maud Marty
Browse files

fix: fix lint

parent 30112f06
import { Component, OnInit } from '@angular/core'; import {Component, OnInit} from '@angular/core';
import { BrapiService } from '../brapi.service'; import {BrapiService} from '../brapi.service';
import { ActivatedRoute } from '@angular/router'; import {ActivatedRoute} from '@angular/router';
import { BrapiGermplasm, BrapiLocation, BrapiObservationVariable, BrapiStudy, BrapiTrial } from '../models/brapi.model'; import {
import { KeyValueObject, toKeyValueObjects } from '../utils'; BrapiGermplasm,
BrapiLocation,
BrapiObservationVariable,
BrapiStudy,
BrapiTrial
} from '../models/brapi.model';
import {KeyValueObject, toKeyValueObjects} from '../utils';
@Component({ @Component({
selector: 'faidare-study-card', selector: 'faidare-study-card',
...@@ -96,7 +102,7 @@ export class StudyCardComponent implements OnInit { ...@@ -96,7 +102,7 @@ export class StudyCardComponent implements OnInit {
}); });
this.loaded = Promise.all([ study$, variable$, germplasm$ ]); this.loaded = Promise.all([study$, variable$, germplasm$]);
this.loaded.then(() => { this.loaded.then(() => {
this.loading = false; this.loading = false;
}); });
...@@ -104,7 +110,7 @@ export class StudyCardComponent implements OnInit { ...@@ -104,7 +110,7 @@ export class StudyCardComponent implements OnInit {
} }
parseEmail(email: string){ parseEmail(email: string) {
return email.replace("@", "_at_") return email.replace('@', '_at_');
} }
} }
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