diff options
Diffstat (limited to 'client/src/app/shared/shared-main')
-rw-r--r-- | client/src/app/shared/shared-main/account/actor.model.ts | 6 |
1 files changed, 4 insertions, 2 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 0fa161ce6..9ec6dbab1 100644 --- a/client/src/app/shared/shared-main/account/actor.model.ts +++ b/client/src/app/shared/shared-main/account/actor.model.ts | |||
@@ -46,8 +46,10 @@ export abstract class Actor implements ActorServer { | |||
46 | this.host = hash.host | 46 | this.host = hash.host |
47 | this.followingCount = hash.followingCount | 47 | this.followingCount = hash.followingCount |
48 | this.followersCount = hash.followersCount | 48 | this.followersCount = hash.followersCount |
49 | this.createdAt = new Date(hash.createdAt.toString()) | 49 | |
50 | this.updatedAt = new Date(hash.updatedAt.toString()) | 50 | if (hash.createdAt) this.createdAt = new Date(hash.createdAt.toString()) |
51 | if (hash.updatedAt) this.updatedAt = new Date(hash.updatedAt.toString()) | ||
52 | |||
51 | this.avatar = hash.avatar | 53 | this.avatar = hash.avatar |
52 | 54 | ||
53 | this.updateComputedAttributes() | 55 | this.updateComputedAttributes() |