Skip to content

Commit 993f7fa

Browse files
authored
FIX: Reset assignee error when modal is shown (#407)
1 parent a4ce90e commit 993f7fa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

assets/javascripts/discourse-assign/controllers/assign-user.js

+4
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ export default Controller.extend(ModalFunctionality, {
3333
});
3434
},
3535

36+
onShow() {
37+
this.set("assigneeError", false);
38+
},
39+
3640
onClose() {
3741
if (this.get("model.onClose") && this.get("model.username")) {
3842
this.get("model.onClose")(this.get("model.username"));

0 commit comments

Comments
 (0)