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