Skip to content

Commit

Permalink
Fix: latest call for boolean parameter (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky authored Sep 2, 2023
1 parent ad6d97c commit b7e99c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/schema/Schema.vue
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,7 @@ export default {
let model = res.default_model[this.name];
if (Array.isArray(model) ||
typeof model === 'string' ||
typeof model === 'boolean' ||
typeof model === 'number') {
this.model = res.default_model;
}
Expand Down

0 comments on commit b7e99c5

Please sign in to comment.