debian-mirror-gitlab/app/assets/javascripts/integrations/edit/components/sections/configuration.vue

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
698 B
Vue
Raw Normal View History

2022-07-23 23:45:48 +05:30
<script>
import { mapGetters } from 'vuex';
import DynamicField from '../dynamic_field.vue';
export default {
name: 'IntegrationSectionConfiguration',
components: {
DynamicField,
},
props: {
fields: {
type: Array,
required: false,
default: () => [],
},
isValidated: {
type: Boolean,
required: false,
default: false,
},
},
computed: {
...mapGetters(['currentKey']),
},
};
</script>
<template>
<div>
<dynamic-field
v-for="field in fields"
:key="`${currentKey}-${field.name}`"
v-bind="field"
:is-validated="isValidated"
2022-08-13 15:12:31 +05:30
:data-qa-selector="`${field.name}_div`"
2022-07-23 23:45:48 +05:30
/>
</div>
</template>