mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
fix monaco row definition
This commit is contained in:
@@ -110,7 +110,10 @@ export default function useMonacoCustomizations({
|
||||
Object.keys(tableState?.columns!)
|
||||
.map((columnKey: string) => {
|
||||
const column = tableState?.columns[columnKey];
|
||||
return `static ${columnKey}: ${getFieldProp("type", column.type)}`;
|
||||
return `static "${columnKey}": ${getFieldProp(
|
||||
"dataType",
|
||||
column.type
|
||||
)}`;
|
||||
})
|
||||
.join(";\n") + ";";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user