diff --git a/src/app/pages/curator/curator.component.ts b/src/app/pages/curator/curator.component.ts index 0f770eb..c3b0cfb 100644 --- a/src/app/pages/curator/curator.component.ts +++ b/src/app/pages/curator/curator.component.ts @@ -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'; } }