2022-07-23 23:45:48 +05:30
|
|
|
<script>
|
|
|
|
import { mapGetters } from 'vuex';
|
|
|
|
|
|
|
|
import TriggerField from '../trigger_field.vue';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'IntegrationSectionTrigger',
|
|
|
|
components: {
|
|
|
|
TriggerField,
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
...mapGetters(['currentKey', 'propsSource']),
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2023-03-17 16:20:25 +05:30
|
|
|
<div data-testid="trigger-fields-group">
|
2022-07-23 23:45:48 +05:30
|
|
|
<trigger-field
|
|
|
|
v-for="event in propsSource.triggerEvents"
|
|
|
|
:key="`${currentKey}-trigger-fields-${event.name}`"
|
|
|
|
:event="event"
|
2023-03-17 16:20:25 +05:30
|
|
|
:type="propsSource.type"
|
2022-07-23 23:45:48 +05:30
|
|
|
class="gl-mb-3"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</template>
|