atst/js/components/levelofwarrant.js
George Drummond f82031ec19
Fix VUE error
2019-02-12 10:08:28 -05:00

28 lines
449 B
JavaScript

import textinput from './text_input'
import checkboxinput from './checkbox_input'
import FormMixin from '../mixins/form'
export default {
mixins: [FormMixin],
components: {
textinput,
checkboxinput,
},
props: {
initialData: {
type: Object,
default: () => ({}),
},
},
data() {
const { unlimited_level_of_warrant = false } = this.initialData
return {
unlimited_level_of_warrant,
}
},
}