mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-02-22 12:38:35 +00:00
33 lines
544 B
Vue
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>
|