From ad9e39fb815d85e5e718c40540fa75471474fa17 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 25 May 2018 09:57:16 +0200 Subject: Only use account name in routes --- client/src/app/shared/account/account.model.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/src/app/shared/account/account.model.ts') 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) } } -- cgit v1.2.3