Skip to content

Commit

Permalink
fix edit boolean column bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kfrico committed Jan 4, 2022
1 parent c88465f commit ecd1b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/table/rowstoken.vue
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export default {

forEach(this.column.getColumnData(), (column, index) => {
if (this.column.getJSType(column.column_name) === 'boolean') {
this.editInputData[index] = (row[column.column_name]) ? 'true' : 'false'
this.editInputData[index] = (row[column.column_name]) === 'true' ? 'true' : 'false'
} else {
this.editInputData[index] = row[column.column_name];
}
Expand Down

0 comments on commit ecd1b01

Please sign in to comment.