discourse/app/assets/javascripts/discourse-common/helpers/component-for-collection.js

9 lines
233 B
JavaScript

import { registerUnbound } from "discourse-common/lib/helpers";
registerUnbound(
"component-for-collection",
(collectionIdentifier, selectKit) => {
return selectKit.modifyComponentForCollection(collectionIdentifier);
}
);