[Trunk|Admin]: Replace assets path to relative.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@56333 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
6372d28ce8
commit
1a26a55797
|
@ -61,7 +61,7 @@ export class CuratorComponent implements OnInit {
|
|||
if (this.curator.photo && this.curator.photo !== '') {
|
||||
this.photo = this.properties.utilsService + '/download/' + this.curator.photo;
|
||||
} else {
|
||||
this.photo = '../../../assets/common-assets/curator-default.png';
|
||||
this.photo = 'assets/common-assets/curator-default.png';
|
||||
}
|
||||
this.showLoading = false;
|
||||
HelperFunctions.scroll();
|
||||
|
@ -73,7 +73,7 @@ export class CuratorComponent implements OnInit {
|
|||
this.curator.affiliations = [];
|
||||
this.curator.bio = '';
|
||||
this.curator.photo = null;
|
||||
this.photo = '../../../assets/common-assets/curator-default.png';
|
||||
this.photo = 'assets/common-assets/curator-default.png';
|
||||
this.showLoading = false;
|
||||
HelperFunctions.scroll();
|
||||
}
|
||||
|
@ -104,7 +104,7 @@ export class CuratorComponent implements OnInit {
|
|||
if (this.curator.photo && this.curator.photo !== '') {
|
||||
this.photo = this.properties.utilsService + '/download/' + this.curator.photo;
|
||||
} else {
|
||||
this.photo = '../../../assets/common-assets/curator-default.png';
|
||||
this.photo = 'assets/common-assets/curator-default.png';
|
||||
}
|
||||
this.showLoading = false;
|
||||
HelperFunctions.scroll();
|
||||
|
@ -116,7 +116,7 @@ export class CuratorComponent implements OnInit {
|
|||
this.curator.affiliations = [];
|
||||
this.curator.bio = '';
|
||||
this.curator.photo = null;
|
||||
this.photo = '../../../assets/common-assets/curator-default.png';
|
||||
this.photo = 'assets/common-assets/curator-default.png';
|
||||
this.showLoading = false;
|
||||
HelperFunctions.scroll();
|
||||
}
|
||||
|
@ -246,6 +246,6 @@ export class CuratorComponent implements OnInit {
|
|||
removePhoto() {
|
||||
this.deletePhoto = true;
|
||||
this.hasChanged = true;
|
||||
this.photo = '../../../assets/common-assets/curator-default.png';
|
||||
this.photo = 'assets/common-assets/curator-default.png';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue