FIX: Reset assignee error when modal is shown (#407)
This commit is contained in:
parent
a4ce90e855
commit
993f7faa8d
|
@ -33,6 +33,10 @@ export default Controller.extend(ModalFunctionality, {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
onShow() {
|
||||||
|
this.set("assigneeError", false);
|
||||||
|
},
|
||||||
|
|
||||||
onClose() {
|
onClose() {
|
||||||
if (this.get("model.onClose") && this.get("model.username")) {
|
if (this.get("model.onClose") && this.get("model.username")) {
|
||||||
this.get("model.onClose")(this.get("model.username"));
|
this.get("model.onClose")(this.get("model.username"));
|
||||||
|
|
Loading…
Reference in New Issue