π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
use enum instead of hard coded it again
Fendy Heryantoef13f8b622f5
diff --git a/packages/nocodb-sdk/src/lib/globals.ts b/packages/nocodb-sdk/src/lib/globals.tsindex 78eaa07420..d3a7debd8b 100644--- a/packages/nocodb-sdk/src/lib/globals.ts+++ b/packages/nocodb-sdk/src/lib/globals.ts@@ -291,10 +291,10 @@ export enum RowHeight {EXTRA = 3,}export const RowHeightMap = {- short: 0,- medium: 1,- tall: 2,- extra: 3,+ short: RowHeight.SHORT,+ medium: RowHeight.MEDIUM,+ tall: RowHeight.TALL,+ extra: RowHeight.EXTRA,[RowHeight.SHORT]: 'short',[RowHeight.MEDIUM]: 'medium',[RowHeight.TALL]: 'tall',