fix(frontend): 投稿フォームのセンシティブとして設定メニューのアイコンが間違っていたのを修正 (MisskeyIO#407)

This commit is contained in:
まっちゃとーにゅ 2024-02-05 00:28:43 +09:00 committed by GitHub
parent 0a8dd14d70
commit e8daa8d63d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ function showFileMenu(file: Misskey.entities.DriveFile, ev: MouseEvent): void {
action: () => { rename(file); }, action: () => { rename(file); },
}, { }, {
text: file.isSensitive ? i18n.ts.unmarkAsSensitive : i18n.ts.markAsSensitive, text: file.isSensitive ? i18n.ts.unmarkAsSensitive : i18n.ts.markAsSensitive,
icon: file.isSensitive ? 'ti ti-eye-exclamation' : 'ti ti-eye', icon: file.isSensitive ? 'ti ti-eye' : 'ti ti-eye-exclamation',
action: () => { toggleSensitive(file); }, action: () => { toggleSensitive(file); },
}, { }, {
text: i18n.ts.describeFile, text: i18n.ts.describeFile,