FIX: Reset assignee error when modal is shown (#407)

This commit is contained in:
Bianca Nenciu 2022-12-21 17:24:17 +02:00 committed by GitHub
parent a4ce90e855
commit 993f7faa8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,10 @@ export default Controller.extend(ModalFunctionality, {
});
},
onShow() {
this.set("assigneeError", false);
},
onClose() {
if (this.get("model.onClose") && this.get("model.username")) {
this.get("model.onClose")(this.get("model.username"));