Show confirmation modal when creating project

This commit is contained in:
Patrick Smith
2018-08-23 16:50:43 -04:00
parent b8a983f4dc
commit e4649e1b60
2 changed files with 26 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
import FormMixin from '../../mixins/form'
import textinput from '../text_input'
const createEnvironment = (name) => ({ name })
@@ -5,6 +6,8 @@ const createEnvironment = (name) => ({ name })
export default {
name: 'new-project',
mixins: [FormMixin],
components: {
textinput
},
@@ -19,6 +22,7 @@ export default {
data: function () {
const {
environment_names,
name,
} = this.initialData
const environments = (
@@ -29,6 +33,7 @@ export default {
return {
environments,
name,
}
},