mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00:00
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);
|
||||
|
||||
if (
|
||||
!this.value &&
|
||||
!this.editingMessage &&
|
||||
this.draft &&
|
||||
this.chatChannel?.canModifyMessages(this.currentUser)
|
||||
|
Loading…
x
Reference in New Issue
Block a user