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:
parent
a0542d1859
commit
daacd2ffe3
|
@ -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,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue