diff --git a/opencti-platform/opencti-front/src/components/dataGrid/components/DataTableHeader.tsx b/opencti-platform/opencti-front/src/components/dataGrid/components/DataTableHeader.tsx index 9077f5615eca9..a8f902d3c7bb7 100644 --- a/opencti-platform/opencti-front/src/components/dataGrid/components/DataTableHeader.tsx +++ b/opencti-platform/opencti-front/src/components/dataGrid/components/DataTableHeader.tsx @@ -94,7 +94,9 @@ const DataTableHeader: FunctionComponent = ({ } }} > - {t_i18n(column.label).toUpperCase()} + + {t_i18n(column.label).toUpperCase()} + {sortBy && (orderAsc ? : )} <> diff --git a/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservablesLines.jsx b/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservablesLines.jsx index a0dc3b0be54fa..d94de949668a3 100644 --- a/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservablesLines.jsx +++ b/opencti-platform/opencti-front/src/private/components/observations/stix_cyber_observables/StixCyberObservablesLines.jsx @@ -123,34 +123,3 @@ export const stixCyberObservablesLinesFragment = graphql` } } `; - -// export default createPaginationContainer( -// StixCyberObservablesLines, -// { -// data: stixCyberObservablesLinesFragment, -// }, -// { -// direction: 'forward', -// getConnectionFromProps(props) { -// return props.data && props.data.stixCyberObservables; -// }, -// getFragmentVariables(prevVars, totalCount) { -// return { -// ...prevVars, -// count: totalCount, -// }; -// }, -// getVariables(props, { count, cursor }, fragmentVariables) { -// return { -// types: fragmentVariables.types, -// search: fragmentVariables.search, -// count, -// cursor, -// orderBy: fragmentVariables.orderBy, -// orderMode: fragmentVariables.orderMode, -// filters: fragmentVariables.filters, -// }; -// }, -// query: stixCyberObservablesLinesQuery, -// }, -// );