This commit is contained in:
Sérgio Saquetim 2025-03-18 01:53:41 -03:00
parent b75801e721
commit 01acd1cd67
No known key found for this signature in database
GPG Key ID: B4E3D7F11E793062
1 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,6 @@ import { classNames } from "@ember-decorators/component";
import discourseDebounce from "discourse/lib/debounce";
import computed, { bind } from "discourse/lib/decorators";
import transformPost from "discourse/lib/transform-post";
import { currentUser } from "discourse/tests/helpers/qunit-helpers";
@classNames("docs-topic")
export default class DocsTopic extends Component {
@ -15,7 +14,7 @@ export default class DocsTopic extends Component {
@reads("post.cooked") originalPostContent;
@computed("currentUser", "model")
post(stream) {
post() {
return transformPost(this.currentUser, this.site, this.model);
}