diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-02-11 09:14:24 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-02-11 09:14:24 +0900 |
| commit | 91569061f4dda5c7d68ce7bfa039cb55b6050b04 (patch) | |
| tree | 8cdabb0071000349d59fb0435e04c75a28eb0236 /src/web/app/auth | |
| parent | #150 (diff) | |
| download | sharkey-91569061f4dda5c7d68ce7bfa039cb55b6050b04.tar.gz sharkey-91569061f4dda5c7d68ce7bfa039cb55b6050b04.tar.bz2 sharkey-91569061f4dda5c7d68ce7bfa039cb55b6050b04.zip | |
Refactor
Diffstat (limited to 'src/web/app/auth')
| -rw-r--r-- | src/web/app/auth/tags/index.tag | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/web/app/auth/tags/index.tag b/src/web/app/auth/tags/index.tag index 5f8c5fe729..9d3e654871 100644 --- a/src/web/app/auth/tags/index.tag +++ b/src/web/app/auth/tags/index.tag @@ -3,7 +3,7 @@ <p class="fetching" if={ fetching }>読み込み中 <mk-ellipsis></mk-ellipsis> </p> - <mk-form ref="form" if={ state == null && !fetching } session={ session }></mk-form> + <mk-form ref="form" if={ state == 'waiting' } session={ session }></mk-form> <div class="denied" if={ state == 'denied' }> <h1>アプリケーションの連携をキャンセルしました。</h1> <p>このアプリがあなたのアカウントにアクセスすることはありません。</p> @@ -113,6 +113,7 @@ .then ~> @accepted! else + @state = \waiting @update! @refs.form.on \denied ~> |