mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 06:27:45 +08:00
DEV: Convert the entire sidebar to gjs (#26978)
This commit is contained in:
@ -2,6 +2,7 @@ import { tracked } from "@glimmer/tracking";
|
||||
import { service } from "@ember/service";
|
||||
import { dasherize } from "@ember/string";
|
||||
import { htmlSafe } from "@ember/template";
|
||||
import UserStatusMessage from "discourse/components/user-status-message";
|
||||
import { decorateUsername } from "discourse/helpers/decorate-username-selector";
|
||||
import { withPluginApi } from "discourse/lib/plugin-api";
|
||||
import { emojiUnescape } from "discourse/lib/text";
|
||||
@ -315,7 +316,7 @@ export default {
|
||||
|
||||
get contentComponent() {
|
||||
if (this.oneOnOneMessage) {
|
||||
return "user-status-message";
|
||||
return UserStatusMessage;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user