diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2018-08-19 13:32:02 +0900 |
|---|---|---|
| committer | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2018-08-19 13:32:02 +0900 |
| commit | 566317dc83d0c875f7739bc522c1ada33c4f45c3 (patch) | |
| tree | 697d35f5f3d77df656f7d2c8d1644341f9de95d4 /src/client | |
| parent | 7.0.2 (diff) | |
| download | misskey-566317dc83d0c875f7739bc522c1ada33c4f45c3.tar.gz misskey-566317dc83d0c875f7739bc522c1ada33c4f45c3.tar.bz2 misskey-566317dc83d0c875f7739bc522c1ada33c4f45c3.zip | |
Fix bug
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/app/mobile/views/pages/settings/settings.profile.vue | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/client/app/mobile/views/pages/settings/settings.profile.vue b/src/client/app/mobile/views/pages/settings/settings.profile.vue index 78023ba501..3b797cdde1 100644 --- a/src/client/app/mobile/views/pages/settings/settings.profile.vue +++ b/src/client/app/mobile/views/pages/settings/settings.profile.vue @@ -91,15 +91,15 @@ export default Vue.extend({ method: 'POST', body: data }) - .then(response => response.json()) - .then(f => { - this.avatarId = f.id; - this.avatarUploading = false; - }) - .catch(e => { - this.avatarUploading = false; - alert('%18n:!@upload-failed%'); - }); + .then(response => response.json()) + .then(f => { + this.avatarId = f.id; + this.avatarUploading = false; + }) + .catch(e => { + this.avatarUploading = false; + alert('%18n:@upload-failed%'); + }); }, onBannerChange([file]) { @@ -113,15 +113,15 @@ export default Vue.extend({ method: 'POST', body: data }) - .then(response => response.json()) - .then(f => { - this.bannerId = f.id; - this.bannerUploading = false; - }) - .catch(e => { - this.bannerUploading = false; - alert('%18n:!@upload-failed%'); - }); + .then(response => response.json()) + .then(f => { + this.bannerId = f.id; + this.bannerUploading = false; + }) + .catch(e => { + this.bannerUploading = false; + alert('%18n:@upload-failed%'); + }); }, save() { |