Skip to content
Snippets Groups Projects
Unverified Commit ad60e43a authored by Yuriha's avatar Yuriha Committed by GitHub
Browse files

タイムラインの「リノートを表示」のトグルスイッチが反応しない問題を直す (#12577)

* [frontend] Fix renote toggle switch

* Fix MkMenu rather than usage
parent 8866c530
No related branches found
No related tags found
No related merge requests found
......@@ -202,7 +202,7 @@ function focusDown() {
}
function switchItem(item: MenuSwitch & { ref: any }) {
if (typeof item.disabled === 'boolean' ? item.disabled : item.disabled.value) return;
if (item.disabled !== undefined && (typeof item.disabled === 'boolean' ? item.disabled : item.disabled.value)) return;
item.ref = !item.ref;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment