Skip to content

Commit a4b25b5

Browse files
committed
revert boolean change code
1 parent b1c38db commit a4b25b5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

frontend/src/app/components/ui-components/row-fields/boolean/boolean.component.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ export class BooleanComponent implements OnInit {
4646
onBooleanChange() {
4747
let formattedBoolean = this.value;
4848

49-
if ((this.structure && this.structure.data_type === 'tinyint' && (this.structure.character_maximum_length === 1)) || this.connectionType === 'mysql') {
50-
formattedBoolean = this.value ? 1 : 0;
51-
}
52-
5349
this.onFieldChange.emit(formattedBoolean);
5450
}
5551
}

0 commit comments

Comments
 (0)