Skip to content

Commit

Permalink
fix(imgerror): relative path is used (#1135)
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre-Étienne Lord
  • Loading branch information
pelord authored Nov 22, 2022
1 parent fa055d9 commit 4fe3918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/src/lib/image/image-error.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
})
export class ImageErrorDirective {

@Input() errorImageUrl: string = '/assets/igo2/common/images/na.png';
@Input() errorImageUrl: string = './assets/igo2/common/images/na.png';
@Input() hideError: boolean = false;

constructor(private el: ElementRef) {}
Expand Down

0 comments on commit 4fe3918

Please sign in to comment.