SSR-1340 Close modals on page navigation

This commit is contained in:
Josh Dassinger 2024-05-31 14:13:32 -05:00
parent b6672f5c30
commit 7218f49c9e

View file

@ -98,6 +98,11 @@ export default {
return !this.meta.dirty || !this.meta.valid;
}
},
watch: {
$route(newVal, oldVal) {
this.closeModal();
}
},
methods: {
async validateAndEmit() {
const validationResult = await this.validate();