Skip to content

Commit 0886359

Browse files
committed
FIx issue with saving new field without datatype
1 parent 62bf35a commit 0886359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/javascript/components/data-tables/datastore/schema/modal-form.schema.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const createClassFieldsSchema = (aeClassId, selectedRowId, aeTypeOptions,
7676
(item) => item[2] && item[2]['data-icon'] === icon
7777
);
7878

79-
return match ? match[1] : '';
79+
return match ? match[1] : null;
8080
};
8181

8282
return {

0 commit comments

Comments
 (0)