atst/js/components/forms/new_environment.js
Montana ab874a06f8 Use new-environment component to toggle
- Moves the form to the innermost place it can go
2019-05-15 11:20:24 -04:00

25 lines
333 B
JavaScript

import FormMixin from '../../mixins/form'
import textinput from '../text_input'
export default {
name: 'new-environment',
mixins: [FormMixin],
components: {
textinput,
},
data: function() {
return {
open: false,
}
},
methods: {
toggle: function() {
this.open = !this.open
},
},
}