[Monitor Dashboard | Trunk]: Change delete method url
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59490 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
1da99c1e03
commit
5dec22375a
|
@ -354,7 +354,7 @@ export class ManageStakeholdersComponent implements OnInit, OnDestroy {
|
||||||
if(this.stakeholderFb.get('logoUrl').value) {
|
if(this.stakeholderFb.get('logoUrl').value) {
|
||||||
let filename = this.stakeholderFb.get('logoUrl').value.split(this.properties.utilsService + "/download/")[1];
|
let filename = this.stakeholderFb.get('logoUrl').value.split(this.properties.utilsService + "/download/")[1];
|
||||||
if(filename) {
|
if(filename) {
|
||||||
this.utilsService.deletePhoto(this.properties.utilsService + '/delete/' + filename).subscribe();
|
this.utilsService.deletePhoto(this.properties.utilsService + '/delete/stakeholder/' + filename).subscribe();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue