mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 07:25:12 +00:00
parent
533fe2d607
commit
787404638a
2 changed files with 12 additions and 5 deletions
|
@ -23,6 +23,7 @@ You should also include the user name that made the change.
|
||||||
- Playのソースコード上限文字数を2倍に拡張
|
- Playのソースコード上限文字数を2倍に拡張
|
||||||
|
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
|
- プロフィールで設定した情報が削除できない問題を修正
|
||||||
- ロールで広告を無効にするとadmin/adsでプレビューがでてこない問題を修正
|
- ロールで広告を無効にするとadmin/adsでプレビューがでてこない問題を修正
|
||||||
- /api-consoleページにアクセスすると404が出る問題を修正
|
- /api-consoleページにアクセスすると404が出る問題を修正
|
||||||
- SMTP Login id length is too short
|
- SMTP Login id length is too short
|
||||||
|
|
|
@ -134,11 +134,17 @@ function saveFields() {
|
||||||
|
|
||||||
function save() {
|
function save() {
|
||||||
os.apiWithDialog('i/update', {
|
os.apiWithDialog('i/update', {
|
||||||
name: profile.name ?? null,
|
// 空文字列をnullにしたいので??は使うな
|
||||||
description: profile.description ?? null,
|
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
||||||
location: profile.location ?? null,
|
name: profile.name || null,
|
||||||
birthday: profile.birthday ?? null,
|
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
||||||
lang: profile.lang ?? null,
|
description: profile.description || null,
|
||||||
|
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
||||||
|
location: profile.location || null,
|
||||||
|
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
||||||
|
birthday: profile.birthday || null,
|
||||||
|
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
||||||
|
lang: profile.lang || null,
|
||||||
isBot: !!profile.isBot,
|
isBot: !!profile.isBot,
|
||||||
isCat: !!profile.isCat,
|
isCat: !!profile.isCat,
|
||||||
showTimelineReplies: !!profile.showTimelineReplies,
|
showTimelineReplies: !!profile.showTimelineReplies,
|
||||||
|
|
Loading…
Reference in a new issue