mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 23:36:11 +08:00
DEV: [gjs-codemod] convert second batch of files to gjs
Updated using `@embroider/template-tag-codemod`, plus some manual fixups. Co-authored-by: Jarek Radosz <jarek@cvx.dev>
This commit is contained in:
@ -93,7 +93,7 @@
|
||||
@content={{this.headerIndicatorOptions}}
|
||||
@value={{this.model.user_option.chat_header_indicator_preference}}
|
||||
@id="user_chat_header_indicator_preference"
|
||||
@onChange={{action
|
||||
@onChange={{fn
|
||||
(mut this.model.user_option.chat_header_indicator_preference)
|
||||
}}
|
||||
/>
|
||||
|
@ -18,7 +18,7 @@ module("Discourse Chat | Component | chat-thread-heading", function (hooks) {
|
||||
assert.dom(".chat-thread__heading-title").hasText("A nice thread title");
|
||||
});
|
||||
|
||||
test("it doesn’t render heading when no title", async function (assert) {
|
||||
test("it doesn't render heading when no title", async function (assert) {
|
||||
const thread = new ChatFabricators(getOwner(this)).thread({
|
||||
title: null,
|
||||
});
|
||||
|
Reference in New Issue
Block a user