atst/js/components/forms/oversight.js
2019-01-18 10:12:11 -05:00

34 lines
499 B
JavaScript

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