diff --git a/client/src/app/admin/users/user-list/user-list.component.html b/client/src/app/admin/users/user-list/user-list.component.html index 2ef9ea0e0..328b1be77 100644 --- a/client/src/app/admin/users/user-list/user-list.component.html +++ b/client/src/app/admin/users/user-list/user-list.component.html @@ -5,6 +5,7 @@ ID Username + Created Date Remove @@ -13,6 +14,7 @@ {{ user.id }} {{ user.username }} + {{ user.createdDate | date: 'medium' }} 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() {