langflow/src
anovazzi1 faea687871 feat(GenericNode): add priorityFields constant to improve sorting logic in GenericNode component
The `GenericNode` component in `index.tsx` has been updated to include an import statement for the `priorityFields` constant from `constants.ts`. This constant is a `Set` containing the field names "code" and "template".

In the `sort` function of the `GenericNode` component, the logic has been modified to check if a field name is present in the `priorityFields` set. If so, it gives higher priority to that field during sorting. This change improves the sorting logic in the component.

The `constants.ts` file has also been updated to include the `priorityFields` constant.
2023-12-04 14:28:07 -03:00
..
backend Refactor langchain imports and update 2023-12-02 14:00:56 -03:00
frontend feat(GenericNode): add priorityFields constant to improve sorting logic in GenericNode component 2023-12-04 14:28:07 -03:00