add: purchased accounts
This commit is contained in:
parent
0aa2ea362f
commit
2ec8d86edf
22 changed files with 1279 additions and 124 deletions
|
@ -168,6 +168,11 @@
|
|||
\"{{ profile.is_verified }}\",
|
||||
\"checkbox\",
|
||||
],
|
||||
[
|
||||
[\"awaiting_purchase\", \"Awaiting purchase\"],
|
||||
\"{{ profile.awaiting_purchase }}\",
|
||||
\"checkbox\",
|
||||
],
|
||||
[
|
||||
[\"role\", \"Permission level\"],
|
||||
\"{{ profile.permissions }}\",
|
||||
|
@ -181,6 +186,11 @@
|
|||
is_verified: value,
|
||||
});
|
||||
},
|
||||
awaiting_purchase: (value) => {
|
||||
profile_request(false, \"awaiting_purchase\", {
|
||||
awaiting_purchase: value,
|
||||
});
|
||||
},
|
||||
role: (new_role) => {
|
||||
return update_user_role(new_role);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue