mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-15 17:14:05 -08:00
34 lines
657 B
Vue
34 lines
657 B
Vue
|
<template>
|
||
|
<Modal :name="EXECUTIONS_MODAL_KEY" width="80%" :eventBus="modalBus">
|
||
|
<template #content>
|
||
|
<ExecutionsList @closeModal="onCloseModal" />
|
||
|
</template>
|
||
|
</Modal>
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts">
|
||
|
import Vue from 'vue';
|
||
|
import ExecutionsList from '@/components/ExecutionsList.vue';
|
||
|
import Modal from '@/components/Modal.vue';
|
||
|
import { EXECUTIONS_MODAL_KEY } from '@/constants';
|
||
|
|
||
|
export default Vue.extend({
|
||
|
name: 'ExecutionsModal',
|
||
|
components: {
|
||
|
Modal,
|
||
|
ExecutionsList,
|
||
|
},
|
||
|
data() {
|
||
|
return {
|
||
|
modalBus: new Vue(),
|
||
|
EXECUTIONS_MODAL_KEY,
|
||
|
};
|
||
|
},
|
||
|
methods: {
|
||
|
onCloseModal() {
|
||
|
this.modalBus.$emit('close');
|
||
|
},
|
||
|
},
|
||
|
});
|
||
|
</script>
|