From 0b0baece09090a802f5a3329121369daab1a05c6 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Mon, 22 Jul 2019 13:46:55 +0000 Subject: [PATCH] [Trunk|Admin]: Remove getTine from affiliations logo and website urls. git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@56671 d315682c-612b-4755-9ff5-7f18f6832af3 --- src/app/pages/affiliations/affiliations.component.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/app/pages/affiliations/affiliations.component.ts b/src/app/pages/affiliations/affiliations.component.ts index eaa3ef6..12170e3 100644 --- a/src/app/pages/affiliations/affiliations.component.ts +++ b/src/app/pages/affiliations/affiliations.component.ts @@ -187,12 +187,6 @@ export class AffiliationsComponent implements OnInit { addAffiliation() { if (!this.isEmptyAffiliation()) { - this.utilitiesService.getTiny(this.properties.utilsService + '/tiny?url=' + this.affiliation.logo_url).subscribe((logo_url)=> { - this.affiliation.logo_url = logo_url; - - this.utilitiesService.getTiny(this.properties.utilsService + '/tiny?url='+ this.affiliation.website_url).subscribe((website_url) => { - this.affiliation.website_url = website_url; - if (!this.curatorAffiliations) { this.updateCommunityAffiliations(this.index); } else { @@ -203,8 +197,6 @@ export class AffiliationsComponent implements OnInit { } } this.change(); - }); - }) } }