This commit is contained in:
David Taylor 2025-01-06 18:51:09 +00:00
parent bb4bdec3c8
commit 30e6f4a436
No known key found for this signature in database
GPG Key ID: 46904C18B1D3F434
1 changed files with 0 additions and 24 deletions

View File

@ -1,24 +0,0 @@
import Component from "@ember/component";
import { htmlSafe } from "@ember/template";
import { classNameBindings, tagName } from "@ember-decorators/component";
import { RUNTIME_OPTIONS } from "discourse-common/lib/raw-handlebars-helpers";
import { findRawTemplate } from "discourse-common/lib/raw-templates";
@tagName("tr")
@classNameBindings(":topic-list-item")
export default class DocsTopicListItem extends Component {
didInsertElement() {
super.didInsertElement(...arguments);
this.renderTopicListItem();
}
renderTopicListItem() {
const template = findRawTemplate("docs-topic-list-item");
if (template) {
this.set(
"topicListItemContents",
htmlSafe(template(this, RUNTIME_OPTIONS))
);
}
}
}