diff --git a/project/ws/app/src/lib/routes/home/pipes/pipe-public-URL/pipe-public-URL.pipe.ts b/project/ws/app/src/lib/routes/home/pipes/pipe-public-URL/pipe-public-URL.pipe.ts index b85e7611..2257ad63 100644 --- a/project/ws/app/src/lib/routes/home/pipes/pipe-public-URL/pipe-public-URL.pipe.ts +++ b/project/ws/app/src/lib/routes/home/pipes/pipe-public-URL/pipe-public-URL.pipe.ts @@ -18,8 +18,7 @@ export class PipePublicURL implements PipeTransform { const finalURL = `${environment.contentHost}${mainUrl}` return value ? finalURL : '' - } - { + } { const mainUrl = value && value.split('/content').pop() || '' const finalURL = `${environment.contentHost}/${environment.contentBucket}/content${mainUrl}` return value ? finalURL : '' diff --git a/project/ws/app/src/lib/routes/home/routes/events/event-list-view/event-list-view.component.ts b/project/ws/app/src/lib/routes/home/routes/events/event-list-view/event-list-view.component.ts index b630078d..ea912567 100644 --- a/project/ws/app/src/lib/routes/home/routes/events/event-list-view/event-list-view.component.ts +++ b/project/ws/app/src/lib/routes/home/routes/events/event-list-view/event-list-view.component.ts @@ -233,15 +233,14 @@ export class EventListViewComponent implements OnInit, AfterViewInit, OnChanges, const finalURL = `${environment.contentHost}${mainUrl}` this.finalImg = img ? finalURL : '' - } - else { + } else { const mainUrl = img && img.split('/content').pop() || '' const finalURL = `${environment.contentHost}/${environment.contentBucket}/content${mainUrl}` this.finalImg = img ? finalURL : '' } this.dialogRef = this.matDialog.open(EventThumbnailComponent, { - width: "800px", + width: '800px', data: this.finalImg, }) }