| .. | .. |
|---|
| 10 | 10 | import { FormBase, IComboOption } from './base'; |
|---|
| 11 | 11 | import { ActivatedRoute, Router } from '@angular/router'; |
|---|
| 12 | 12 | |
|---|
| 13 | | -var app_example = { |
|---|
| 14 | | - |
|---|
| 13 | +var user_example = { |
|---|
| 14 | + username: 'rym', |
|---|
| 15 | + roles: [ 1 ], |
|---|
| 16 | + lastLogin: 1488885433000, |
|---|
| 17 | + modificationTimestamp: 1479898458000, |
|---|
| 18 | + email: 'rbouchair@curistec.com', |
|---|
| 19 | + first_name: 'Rym', |
|---|
| 20 | + last_name: 'Bouchair', |
|---|
| 21 | + creation_timestamp: 1479898458000, |
|---|
| 22 | + organizations_ids: [ 1, 2, 5, 6, 7, 8 ] |
|---|
| 15 | 23 | } |
|---|
| 16 | 24 | |
|---|
| 17 | 25 | @Component({ |
|---|
| .. | .. |
|---|
| 39 | 47 | init() : void { |
|---|
| 40 | 48 | super.setFirstFocus(); |
|---|
| 41 | 49 | super.reset(); |
|---|
| 42 | | - super.prepareInitialData('userId', { |
|---|
| 50 | + super.prepareInitialData('username', { |
|---|
| 43 | 51 | metadata: [] |
|---|
| 44 | 52 | }); |
|---|
| 45 | 53 | } |
|---|