fix(frontend): 投稿フォームのセンシティブとして設定メニューのアイコンが間違っていたのを修正 (MisskeyIO#407)
This commit is contained in:
parent
0a8dd14d70
commit
e8daa8d63d
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue