From 30e6f4a4367c54504bb0ff320c12454720fe7217 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Mon, 6 Jan 2025 18:51:09 +0000 Subject: [PATCH] delete --- .../components/docs-topic-list-item.js | 24 ------------------- 1 file changed, 24 deletions(-) delete mode 100644 assets/javascripts/discourse/components/docs-topic-list-item.js diff --git a/assets/javascripts/discourse/components/docs-topic-list-item.js b/assets/javascripts/discourse/components/docs-topic-list-item.js deleted file mode 100644 index 020ff0d..0000000 --- a/assets/javascripts/discourse/components/docs-topic-list-item.js +++ /dev/null @@ -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)) - ); - } - } -}