From ceb67bcb6f6231d7837f25d3ac3ad115c18e247f Mon Sep 17 00:00:00 2001 From: Montana Date: Fri, 18 Jan 2019 10:12:11 -0500 Subject: [PATCH] Forgot to add new js component file --- js/components/forms/oversight.js | 33 ++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 js/components/forms/oversight.js 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 + } + } +}