We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 470a092 commit c6a42b2Copy full SHA for c6a42b2
src/forms-page/FormsPage.tsx
@@ -69,7 +69,9 @@ const FormsPage = () => {
69
let rows = [];
70
if (category && cleanRows && cleanRows.length) {
71
const uuids = category.forms?.map((form) => form.formUUID);
72
- rows = cleanRows.filter((row) => uuids.includes(row.uuid));
+ rows = cleanRows
73
+ .filter((row) => uuids.includes(row.uuid))
74
+ .sort((a, b) => uuids.indexOf(a.uuid) - uuids.indexOf(b.uuid));
75
}
76
return { ...{ name, rows } };
77
});
0 commit comments