FIX: chat-composer is now using glimmer (#47)

As a result of this change the channel is now accessible through `this.args.channel` and not `this.chatChannel`.

Longer term we want a better solution here, but this should fix the issue for now.
This commit is contained in:
Joffrey JAFFEUX 2023-04-25 11:25:07 +02:00 committed by GitHub
parent a0542d1859
commit daacd2ffe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ function initializeChatChannelSummary(api) {
@action @action
showChannelSummary() { showChannelSummary() {
showModal("ai-summary").setProperties({ showModal("ai-summary").setProperties({
targetId: this.chatChannel.id, targetId: this.args.channel.id,
targetType: "chat_channel", targetType: "chat_channel",
allowTimeframe: true, allowTimeframe: true,
}); });