diff --git a/front/src/components/table/Table.tsx b/front/src/components/table/Table.tsx
index 9c451cc74..2aae3307a 100644
--- a/front/src/components/table/Table.tsx
+++ b/front/src/components/table/Table.tsx
@@ -70,23 +70,27 @@ function Table({ data, columns, viewName, viewIcon }: OwnProps) {
))}
-
- {table.getFooterGroups().map((footerGroup) => (
-
- {footerGroup.headers.map((header) => (
- |
- {header.isPlaceholder
- ? null
- : flexRender(
- header.column.columnDef.footer,
- header.getContext(),
- )}
- |
- ))}
-
- ))}
-
-
+ {table
+ .getFooterGroups()
+ .flatMap((group) => group.headers)
+ .filter((header) => !!header.column.columnDef.footer).length > 0 && (
+
+ {table.getFooterGroups().map((footerGroup) => (
+
+ {footerGroup.headers.map((header) => (
+ |
+ {header.isPlaceholder
+ ? null
+ : flexRender(
+ header.column.columnDef.footer,
+ header.getContext(),
+ )}
+ |
+ ))}
+
+ ))}
+
+ )}
);