Browse Source

refactor: treat logical/boolean result as checkbox

pull/7574/head
Pranav C 10 months ago
parent
commit
b176d650c8
  1. 7
      packages/nocodb-sdk/src/lib/UITypes.ts

7
packages/nocodb-sdk/src/lib/UITypes.ts

@ -196,10 +196,9 @@ export const getEquivalentUIType = ({
return UITypes.Number; return UITypes.Number;
case FormulaDataTypes.DATE: case FormulaDataTypes.DATE:
return UITypes.DateTime; return UITypes.DateTime;
// case FormulaDataTypes.LOGICAL: case FormulaDataTypes.LOGICAL:
// case FormulaDataTypes.BOOLEAN: case FormulaDataTypes.BOOLEAN:
// uidt = UITypes.Number; return UITypes.Checkbox;
// break
} }
}; };

Loading…
Cancel
Save