FIX: error when quoting message into topic (#21114)
This error was only happening on mobile, note we also already have a (mobile) test (plugins/chat/spec/system/transcript_spec.rb:184) for this which was passing as it's only happening at a specific speed. I don't want to complicate the test too much for this case, will reconsider if it regresses again.
This commit is contained in:
parent
430d6308a8
commit
5b187ad25e
|
@ -16,7 +16,7 @@ export default class ChatChannelPane extends Service {
|
|||
@tracked sendingLoading = false;
|
||||
|
||||
get selectedMessageIds() {
|
||||
return this.chat.activeChannel.selectedMessages.mapBy("id");
|
||||
return this.chat.activeChannel?.selectedMessages?.mapBy("id") || [];
|
||||
}
|
||||
|
||||
get composerService() {
|
||||
|
|
Loading…
Reference in New Issue