summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-06-07 03:10:22 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-06-07 03:10:22 +0900
commitd7b6e516c8f86ac520bcac5853db87929107a72e (patch)
treefbc27ccd2c1c2d89c17c6bce67187c59bcf7adce /src/web
parent[Test] Fix bug (diff)
downloadmisskey-d7b6e516c8f86ac520bcac5853db87929107a72e.tar.gz
misskey-d7b6e516c8f86ac520bcac5853db87929107a72e.tar.bz2
misskey-d7b6e516c8f86ac520bcac5853db87929107a72e.zip
Fix #472
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/desktop/tags/settings.tag6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/web/app/desktop/tags/settings.tag b/src/web/app/desktop/tags/settings.tag
index 83f3e5754d..25b0435ca1 100644
--- a/src/web/app/desktop/tags/settings.tag
+++ b/src/web/app/desktop/tags/settings.tag
@@ -202,9 +202,9 @@
this.updateAccount = () => {
this.api('i/update', {
name: this.refs.accountName.value,
- location: this.refs.accountLocation.value || undefined,
- description: this.refs.accountDescription.value || undefined,
- birthday: this.refs.accountBirthday.value || undefined
+ location: this.refs.accountLocation.value || null,
+ description: this.refs.accountDescription.value || null,
+ birthday: this.refs.accountBirthday.value || null
}).then(() => {
notify('プロフィールを更新しました');
});