mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 04:08:41 +08:00
FIX: call onSelect plugin callbacks for noop rows (#6682)
This commit is contained in:
@ -211,6 +211,12 @@ export default SelectKitComponent.extend({
|
||||
|
||||
select(computedContentItem) {
|
||||
if (computedContentItem.__sk_row_type === "noopRow") {
|
||||
applyOnSelectPluginApiCallbacks(
|
||||
this.get("pluginApiIdentifiers"),
|
||||
computedContentItem.value,
|
||||
this
|
||||
);
|
||||
|
||||
this._boundaryActionHandler("onSelect", computedContentItem.value);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user