]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-main/account/actor.model.ts
Rename studio to editor
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-main / account / actor.model.ts
index bd693860d77ec6f2fe2fd4f4b46bfea2ae1aab41..977fdb7e53215ea1b112c10069a07934c7295de3 100644 (file)
@@ -55,7 +55,7 @@ export abstract class Actor implements ServerActor {
 
     if (hash.createdAt) this.createdAt = new Date(hash.createdAt.toString())
 
-    this.avatars = hash.avatars
+    this.avatars = hash.avatars || []
     this.isLocal = Actor.IS_LOCAL(this.host)
   }
 }