diff --git a/daikoku/javascript/src/components/backoffice/apis/TeamApiSubscriptions.tsx b/daikoku/javascript/src/components/backoffice/apis/TeamApiSubscriptions.tsx
index 36cc2e644..a235994d5 100644
--- a/daikoku/javascript/src/components/backoffice/apis/TeamApiSubscriptions.tsx
+++ b/daikoku/javascript/src/components/backoffice/apis/TeamApiSubscriptions.tsx
@@ -520,7 +520,7 @@ export const TeamApiSubscriptions = ({
{
if (subscriptionsQuery.isLoading || subscriptionsQuery.error) {
diff --git a/daikoku/javascript/src/components/inputs/Table.tsx b/daikoku/javascript/src/components/inputs/Table.tsx
index aefd4dfd9..3a97297eb 100644
--- a/daikoku/javascript/src/components/inputs/Table.tsx
+++ b/daikoku/javascript/src/components/inputs/Table.tsx
@@ -68,6 +68,7 @@ const TableComponent = (props: TableProps, ref: React.Ref<
const { translate } = useContext(I18nContext);
+ console.debug({ id: props.columns[0].id!, desc: false, col: props.columns[0] })
const table = useReactTable({
data: items,
columns: props.columns,
@@ -82,6 +83,11 @@ const TableComponent = (props: TableProps, ref: React.Ref<
getFacetedRowModel: getFacetedRowModel(),
getFacetedUniqueValues: getFacetedUniqueValues(),
getFacetedMinMaxValues: getFacetedMinMaxValues(),
+ initialState: {
+ sorting: [
+ {id: props.defaultSort || "", desc: !!props.defaultSortDesc}
+ ]
+ }
});