mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
close all modals when opening executions
This commit is contained in:
parent
7f94ed2e17
commit
860eeef0aa
|
@ -356,7 +356,7 @@ export default mixins(
|
|||
name: 'ExecutionById',
|
||||
params: { id: execution.id },
|
||||
});
|
||||
this.closeDialog();
|
||||
this.modalBus.$emit('closeAll');
|
||||
},
|
||||
handleAutoRefreshToggle () {
|
||||
if (this.autoRefreshInterval) {
|
||||
|
|
|
@ -116,6 +116,10 @@ export default Vue.extend({
|
|||
this.$props.eventBus.$on('close', () => {
|
||||
this.closeDialog();
|
||||
});
|
||||
|
||||
this.$props.eventBus.$on('closeAll', () => {
|
||||
this.closeAllDialogs();
|
||||
});
|
||||
}
|
||||
|
||||
const activeElement = document.activeElement as HTMLElement;
|
||||
|
|
Loading…
Reference in a new issue