From 62fca05de45848f3241c1b078df51d79692ebfee Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 10 Jan 2020 10:30:08 +0100 Subject: [PATCH] Fix default avatar URL --- client/src/app/shared/actor/actor.model.ts | 2 +- client/src/app/videos/+video-watch/video-watch.component.html | 3 ++- shared/extra-utils/cli/cli.ts | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) 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 @@
((res, rej) => { exec(command, (err, stdout, stderr) => { if (err) return rej(err) -- 2.41.0