mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
console: fix issue with custom columns names that causes browse rows to error out
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8487 GitOrigin-RevId: f152efa8383ef7fd156f0a62242aacbaa00df113
This commit is contained in:
parent
b42d1dd249
commit
f010af3c82
@ -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,
|
||||
};
|
||||
});
|
||||
|
||||
|
@ -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,
|
||||
};
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user