From 62fca05de45848f3241c1b078df51d79692ebfee Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 10 Jan 2020 10:30:08 +0100 Subject: Fix default avatar URL --- client/src/app/shared/actor/actor.model.ts | 2 +- client/src/app/videos/+video-watch/video-watch.component.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'client/src') diff --git a/client/src/app/shared/actor/actor.model.ts b/client/src/app/shared/actor/actor.model.ts index 9cc51b948..0e5060f67 100644 --- a/client/src/app/shared/actor/actor.model.ts +++ b/client/src/app/shared/actor/actor.model.ts @@ -20,7 +20,7 @@ export abstract class Actor implements ActorServer { if (actor && actor.avatar) return absoluteAPIUrl + actor.avatar.path - this.GET_DEFAULT_AVATAR_URL() + return this.GET_DEFAULT_AVATAR_URL() } static GET_DEFAULT_AVATAR_URL () { diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html index 9f1b51b2d..bc3a3ffdd 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.html +++ b/client/src/app/videos/+video-watch/video-watch.component.html @@ -145,6 +145,7 @@