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:
Joffrey JAFFEUX
2023-02-01 17:45:33 +01:00
committed by GitHub
parent df50df041a
commit dd4b282196

View File

@@ -223,7 +223,6 @@ export default Component.extend(TextareaTextManipulation, {
this._super(...arguments);
if (
!this.value &&
!this.editingMessage &&
this.draft &&
this.chatChannel?.canModifyMessages(this.currentUser)