Update profile.vue

This commit is contained in:
かっこかり 2024-11-05 15:17:38 +09:00 committed by GitHub
parent e2c9043179
commit 784931c9e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -262,7 +262,7 @@ function changeAvatar(ev) {
await os.apiWithDialog('i/update', { await os.apiWithDialog('i/update', {
avatarId: originalOrCropped.id, avatarId: originalOrCropped.id,
}, undefined, { }, undefined, {
'AVATAR_IS_SENSITIVE': { '71bb5e53-4742-4609-b465-36081e131208': {
title: i18n.ts.cannotSelectSensitiveMedia, title: i18n.ts.cannotSelectSensitiveMedia,
text: i18n.ts.cannotSelectSensitiveMediaDescription, text: i18n.ts.cannotSelectSensitiveMediaDescription,
}, },
@ -314,7 +314,7 @@ function changeBanner(ev) {
await os.apiWithDialog('i/update', { await os.apiWithDialog('i/update', {
bannerId: originalOrCropped.id, bannerId: originalOrCropped.id,
}, undefined, { }, undefined, {
'BANNER_IS_SENSITIVE': { 'e148b34c-9f33-4300-93e0-7817008fb366': {
title: i18n.ts.cannotSelectSensitiveMedia, title: i18n.ts.cannotSelectSensitiveMedia,
text: i18n.ts.cannotSelectSensitiveMediaDescription, text: i18n.ts.cannotSelectSensitiveMediaDescription,
}, },