Skip to content

Commit f316203

Browse files
author
Oleg Dergilev
committed
bugfix/279 remove field sorting
1 parent 6653c9b commit f316203

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/app/admin/components/schema-detail/schema-detail.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,5 @@ const updateFields: Array<keyof SchemaResponse> = [
251251
];
252252

253253
function stripSchemaFields(schema: SchemaResponse): any {
254-
schema.fields.sort((a: any, b: any) => a.name.localeCompare(b.name));
255254
return updateFields.reduce((obj, key) => ({ ...obj, [key]: schema[key] || null }), {});
256255
}

0 commit comments

Comments
 (0)