1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-02-22 12:38:35 +00:00
bramw_baserow/web-frontend/modules/builder/components/form/BuilderFormFooter.vue
2024-10-22 14:34:13 +04:00

33 lines
544 B
Vue

<template>
<Button
type="primary"
:loading="loading"
:disabled="loading"
@click="$emit('submit')"
>
{{ $t('action.add') }}
{{ applicationType.getName() | lowercase }}
</Button>
</template>
<script>
export default {
name: 'BuilderFormFooter',
props: {
applicationType: {
type: Object,
required: true,
},
loading: {
type: Boolean,
required: false,
default: null,
},
},
methods: {
submit() {
this.$refs.applicationForm.submit()
},
},
}
</script>