summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2020-02-15 01:40:38 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2020-02-15 01:40:38 +0900
commit55bdf0d618cf2bf2dad4357fdac9f715cfd489b0 (patch)
tree956a96ccfeba5ab4fde969c9d3da3f884139135f /src/client
parent:v: (diff)
downloadmisskey-55bdf0d618cf2bf2dad4357fdac9f715cfd489b0.tar.gz
misskey-55bdf0d618cf2bf2dad4357fdac9f715cfd489b0.tar.bz2
misskey-55bdf0d618cf2bf2dad4357fdac9f715cfd489b0.zip
:art:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app.vue7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/client/app.vue b/src/client/app.vue
index d696d70fd2..c0a8ab2777 100644
--- a/src/client/app.vue
+++ b/src/client/app.vue
@@ -348,7 +348,7 @@ export default Vue.extend({
const accountItems = accounts.map(account => ({
type: 'user',
user: account,
- action: () => { this.switchAccount(account) }
+ action: () => { this.switchAccount(account); }
}));
this.$root.menu({
@@ -536,6 +536,11 @@ export default Vue.extend({
},
switchAccountWithToken(token: string) {
+ this.$root.dialog({
+ type: 'waiting',
+ iconOnly: true
+ });
+
this.$root.api('i', {}, token).then((i: any) => {
this.$store.dispatch('switchAccount', {
...i,