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

fix: fix lint

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