FIX: reverts value check when reseting composer value (#20110)
This change was made to prevent composer input to be reset randomly during tests but this is causing more issues for now: most notably composer state not being reset when changing channel. This will need a better solution.
This commit is contained in:
parent
df50df041a
commit
dd4b282196
|
@ -223,7 +223,6 @@ export default Component.extend(TextareaTextManipulation, {
|
||||||
this._super(...arguments);
|
this._super(...arguments);
|
||||||
|
|
||||||
if (
|
if (
|
||||||
!this.value &&
|
|
||||||
!this.editingMessage &&
|
!this.editingMessage &&
|
||||||
this.draft &&
|
this.draft &&
|
||||||
this.chatChannel?.canModifyMessages(this.currentUser)
|
this.chatChannel?.canModifyMessages(this.currentUser)
|
||||||
|
|
Loading…
Reference in New Issue