Skip to content

Commit

Permalink
fix(ui): Prompt validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Chau committed Mar 14, 2018
1 parent ce4cf9a commit 009b880
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/@vue/cli-ui/src/views/ProjectCreate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ export default {
configurationValid () {
return this.enabledPrompts.filter(
p => p.value === null
p => p.value === null || JSON.parse(p.value) === ''
).length === 0
},
Expand Down
4 changes: 3 additions & 1 deletion packages/@vue/cli-ui/src/views/ProjectPluginsAdd.vue
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,9 @@ export default {
computed: {
configurationValid () {
return false
return this.enabledPrompts.filter(
p => p.value === null || JSON.parse(p.value) === ''
).length === 0
},
enabledPrompts () {
Expand Down

0 comments on commit 009b880

Please sign in to comment.