Skip to content

Commit

Permalink
Merge pull request #199 from unipept/fix/outside-click-close-assay-di…
Browse files Browse the repository at this point in the history
…alog

Fix outside click close assay dialog
  • Loading branch information
pverscha authored Sep 8, 2022
2 parents f2e94bf + 371dbef commit 271c72b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/assay/CreateAssayDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,13 @@ export default class CreateAssayDialog extends Vue {
private close() {
this.dialogActive = false;
this.$emit("input", this.dialogActive);
}
@Watch("dialogActive")
private onDialogActiveChanged() {
if (!this.dialogActive) {
this.$emit("input", this.dialogActive)
}
}
/**
Expand Down

0 comments on commit 271c72b

Please sign in to comment.