diff --git a/frontend/libs/console/legacy-ce/src/lib/features/BrowseRows/components/RunQuery/Filter/FilterRows.tsx b/frontend/libs/console/legacy-ce/src/lib/features/BrowseRows/components/RunQuery/Filter/FilterRows.tsx index 24bd5bd3cd2..713d212e190 100644 --- a/frontend/libs/console/legacy-ce/src/lib/features/BrowseRows/components/RunQuery/Filter/FilterRows.tsx +++ b/frontend/libs/console/legacy-ce/src/lib/features/BrowseRows/components/RunQuery/Filter/FilterRows.tsx @@ -53,10 +53,9 @@ export const FilterRows = ({ }; const columnOptions: SelectItem[] = columns.map(column => { - const value = column.graphQLProperties?.name ?? column.name; return { label: column.name, - value, + value: column.name, }; }); diff --git a/frontend/libs/console/legacy-ce/src/lib/features/BrowseRows/components/RunQuery/Sort/SortRows.tsx b/frontend/libs/console/legacy-ce/src/lib/features/BrowseRows/components/RunQuery/Sort/SortRows.tsx index b5c935ffa1c..86110dd7fc9 100644 --- a/frontend/libs/console/legacy-ce/src/lib/features/BrowseRows/components/RunQuery/Sort/SortRows.tsx +++ b/frontend/libs/console/legacy-ce/src/lib/features/BrowseRows/components/RunQuery/Sort/SortRows.tsx @@ -33,10 +33,9 @@ export const SortRows = ({ }, [initialSorts?.length]); const columnOptions: SelectItem[] = columns.map(column => { - const value = column.graphQLProperties?.name ?? column.name; return { label: column.name, - value, + value: column.name, }; });