wip
This commit is contained in:
parent
3a39a36bed
commit
2a3a5d4b50
35 changed files with 402 additions and 367 deletions
|
|
@ -114,13 +114,13 @@
|
|||
this.cancel = () => {
|
||||
this.api('auth/deny', {
|
||||
token: @session.token
|
||||
.then =>
|
||||
}).then(() => {
|
||||
this.trigger('denied');
|
||||
|
||||
this.accept = () => {
|
||||
this.api('auth/accept', {
|
||||
token: @session.token
|
||||
.then =>
|
||||
}).then(() => {
|
||||
this.trigger('accepted');
|
||||
</script>
|
||||
</mk-form>
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@
|
|||
if @session.app.is_authorized
|
||||
this.api('auth/accept', {
|
||||
token: @session.token
|
||||
.then =>
|
||||
}).then(() => {
|
||||
@accepted!
|
||||
else
|
||||
this.state = 'waiting'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue