From b539c9b34c246eb7bfc4afea92ae095cb1c38e59 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 23 Sep 2016 17:20:15 +0200 Subject: Client: display created user date --- client/src/app/shared/users/user.model.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'client/src/app/shared') diff --git a/client/src/app/shared/users/user.model.ts b/client/src/app/shared/users/user.model.ts index 0f34d4480..b775cb8e7 100644 --- a/client/src/app/shared/users/user.model.ts +++ b/client/src/app/shared/users/user.model.ts @@ -2,11 +2,13 @@ export class User { id: string; username: string; role: string; + createdDate: Date; - constructor(hash: { id: string, username: string, role: string }) { + constructor(hash: { id: string, username: string, role: string, createdDate: Date }) { this.id = hash.id; this.username = hash.username; this.role = hash.role; + this.createdDate = hash.createdDate; } isAdmin() { -- cgit v1.2.3