Admin
Extends:
Method Summary
Public Methods | ||
public |
approves type of users. |
|
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 purchaser information for signup |
|
public |
Gets vendor information for signup |
|
public |
Gets the current user |
|
public |
reject type of users. |
|
public |
rejectUser(user: object) State changes if a user is rejected |
|
public |
render(): html Loads the emails for and buttons. |
|
public |
review type of users. |
|
public |
storeKeyRole(data: object) Stores information of key and role into db |
Public Methods
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 rejectUser(user: object) source
State changes if a user is rejected
Params:
Name | Type | Attribute | Description |
user | object | object which contains information for us to move out of firebase and remove in our database. |
public render(): html source
Loads the emails for and buttons.
Return:
html | returns button and links and emails |