X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Faccount%2Faccount.model.ts;h=5058e372fd9505ecf99fe1d1c191417d99285b92;hb=614d1ae928ec307b708c4a3eb423797353b1df2a;hp=6a3c6451c420fe0bee8690a4e04149b177987d5d;hpb=d3e91a5f72ac9c986cdb67d7d6c85bb4819e680c;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/account/account.model.ts b/client/src/app/shared/account/account.model.ts index 6a3c6451c..5058e372f 100644 --- a/client/src/app/shared/account/account.model.ts +++ b/client/src/app/shared/account/account.model.ts @@ -4,11 +4,13 @@ import { Actor } from '../actor/actor.model' export class Account extends Actor implements ServerAccount { displayName: string description: string + nameWithHost: string constructor (hash: ServerAccount) { super(hash) this.displayName = hash.displayName this.description = hash.description + this.nameWithHost = Actor.CREATE_BY_STRING(this.name, this.host) } }