Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed May 25, 2017
1 parent ee5ed30 commit 890ed44
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions src/formGenerator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,27 +109,27 @@ div.vue-form-generator(v-if='schema != null')
},
computed: {
fields() {
let res = [];
if (this.schema && this.schema.fields) {
each(this.schema.fields, (field) => {
if (!this.multiple || field.multi === true)
res.push(field);
});
}
return res;
},
groups() {
let res = [];
if (this.schema && this.schema.groups) {
each(this.schema.groups, (group) => {
res.push(group);
});
}
return res;
}
fields() {
let res = [];
if (this.schema && this.schema.fields) {
each(this.schema.fields, (field) => {
if (!this.multiple || field.multi === true)
res.push(field);
});
}
return res;
},
groups() {
let res = [];
if (this.schema && this.schema.groups) {
each(this.schema.groups, (group) => {
res.push(group);
});
}
return res;
}
},
watch: {
Expand Down

0 comments on commit 890ed44

Please sign in to comment.