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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
300 B
JavaScript
Raw Normal View History

import { registerRawHelper } from "discourse-common/lib/helpers";
registerRawHelper("component-for-collection", componentForCollection);
export default function componentForCollection(
collectionIdentifier,
selectKit
) {
return selectKit.modifyComponentForCollection(collectionIdentifier);
}