From a6e1ace2b6bdba8c08a4acfa42433f3ac073b747 Mon Sep 17 00:00:00 2001
From: rsanchez <rsanchez@curisit.net>
Date: Tue, 21 Mar 2017 10:16:22 +0000
Subject: [PATCH] #3527 feature - Added all catalogs and working fine
---
securis/src/main/webapp/src/app/forms/user.form.component.ts | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/securis/src/main/webapp/src/app/forms/user.form.component.ts b/securis/src/main/webapp/src/app/forms/user.form.component.ts
index 6584c7d..a709db6 100644
--- a/securis/src/main/webapp/src/app/forms/user.form.component.ts
+++ b/securis/src/main/webapp/src/app/forms/user.form.component.ts
@@ -10,8 +10,16 @@
import { FormBase, IComboOption } from './base';
import { ActivatedRoute, Router } from '@angular/router';
-var app_example = {
-
+var user_example = {
+ username: 'rym',
+ roles: [ 1 ],
+ lastLogin: 1488885433000,
+ modificationTimestamp: 1479898458000,
+ email: 'rbouchair@curistec.com',
+ first_name: 'Rym',
+ last_name: 'Bouchair',
+ creation_timestamp: 1479898458000,
+ organizations_ids: [ 1, 2, 5, 6, 7, 8 ]
}
@Component({
@@ -39,7 +47,7 @@
init() : void {
super.setFirstFocus();
super.reset();
- super.prepareInitialData('userId', {
+ super.prepareInitialData('username', {
metadata: []
});
}
--
Gitblit v1.3.2