DEV: Export default category link renderer to be used on plugins and theme-components (#19455)
This commit is contained in:
parent
06d85777d2
commit
506d26df26
|
@ -104,7 +104,7 @@ function buildTopicCount(count) {
|
|||
)}">× ${count}</span>`;
|
||||
}
|
||||
|
||||
function defaultCategoryLinkRenderer(category, opts) {
|
||||
export function defaultCategoryLinkRenderer(category, opts) {
|
||||
let descriptionText = get(category, "description_text");
|
||||
let restricted = get(category, "read_restricted");
|
||||
let url = opts.url
|
||||
|
|
Loading…
Reference in New Issue