diff options
Diffstat (limited to 'client/src/app/shared/shared-main/account/actor.model.ts')
-rw-r--r-- | client/src/app/shared/shared-main/account/actor.model.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-main/account/actor.model.ts b/client/src/app/shared/shared-main/account/actor.model.ts index 2fccc472a..082f44fb9 100644 --- a/client/src/app/shared/shared-main/account/actor.model.ts +++ b/client/src/app/shared/shared-main/account/actor.model.ts | |||
@@ -20,7 +20,7 @@ export abstract class Actor implements ServerActor { | |||
20 | static GET_ACTOR_AVATAR_URL (actor: { avatar?: { url?: string, path: string } }) { | 20 | static GET_ACTOR_AVATAR_URL (actor: { avatar?: { url?: string, path: string } }) { |
21 | if (actor?.avatar?.url) return actor.avatar.url | 21 | if (actor?.avatar?.url) return actor.avatar.url |
22 | 22 | ||
23 | if (actor && actor.avatar) { | 23 | if (actor?.avatar) { |
24 | const absoluteAPIUrl = getAbsoluteAPIUrl() | 24 | const absoluteAPIUrl = getAbsoluteAPIUrl() |
25 | 25 | ||
26 | return absoluteAPIUrl + actor.avatar.path | 26 | return absoluteAPIUrl + actor.avatar.path |