Show confirmation modal when creating project
This commit is contained in:
@@ -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,
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user