diff --git a/js/components/forms/oversight.js b/js/components/forms/oversight.js new file mode 100644 index 00000000..ef3f924b --- /dev/null +++ b/js/components/forms/oversight.js @@ -0,0 +1,33 @@ +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 + } + } +}