AdminReview
Extends:
Method Summary
| Public Methods | ||
| public |
Accepts a user |
|
| public |
approveUser(user: object) State changes if a user is approved |
|
| public |
Invoked immediately before a component is unmounted and destroyed, to update our states |
|
| public |
Gets additional resource information for signup |
|
| public |
Gets information for review |
|
| public |
Gets purchaser information for signup |
|
| public |
Gets vendor information for signup |
|
| public |
Gets current user |
|
| public |
rejects a user |
|
| public |
rejectUser(user: object) State changes if a user is rejected |
|
| public |
render(): html Loads the details |
|
| public |
returns back to previous page |
|
Public Methods
public approve(key_name,: object) source
Accepts a user
Params:
| Name | Type | Attribute | Description |
| key_name, | object | role - information about user to approve |
public approveUser(user: object) source
State changes if a user is approved
Params:
| Name | Type | Attribute | Description |
| user | object | object which contains information for us to move into firebase and store in our database. |
public componentWillMount() source
Invoked immediately before a component is unmounted and destroyed, to update our states
public reject(key_name,: object) source
rejects a user
Params:
| Name | Type | Attribute | Description |
| key_name, | object | role - information about user to reject |