Phase 672: support toggle mode on update-forum-tag-filter IPC
Route msg.toggle to platform.toggleForumTagFilter for multi-select forum tag chips. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -1479,7 +1479,8 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
if (t === 'update-forum-tag-filter') {
|
if (t === 'update-forum-tag-filter') {
|
||||||
platform.setForumTagFilter(msg.tag)
|
if (msg.toggle) platform.toggleForumTagFilter(msg.tag)
|
||||||
|
else platform.setForumTagFilter(msg.tag)
|
||||||
pushState()
|
pushState()
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user