diff --git a/lib/render-footer.js b/lib/render-footer.js
index 8720beee..9a37cf6b 100644
--- a/lib/render-footer.js
+++ b/lib/render-footer.js
@@ -11,61 +11,56 @@ export const renderFooter = ({
csvFilename,
xlsxFilename,
xlsxSheetname,
- topPlacement
-}) => {
- return html`
-
-
- ${ngettext(
- '{0} selected item',
- '{0} selected items',
- selectedItems.length
- )}
-
-
-
-
-
-
-
-
-
-
-
- `;
-};
+
+
+
+
+
+
+
+
+ `;
diff --git a/lib/use-footer.js b/lib/use-footer.js
index a4d53571..1ba84e68 100644
--- a/lib/use-footer.js
+++ b/lib/use-footer.js
@@ -1,22 +1,21 @@
import { defaultPlacement } from '@neovici/cosmoz-dropdown';
const _defaultPlacement = ['top-right', ...defaultPlacement];
-export const useFooter = ({
- host,
- ...rest
-}) => {
+export const useFooter = ({ host, ...rest }) => {
const {
csvFilename = 'omnitable.csv',
xlsxFilename = 'omnitable.xlsx',
xlsxSheetname = 'Omnitable',
topPlacement = _defaultPlacement,
- } = host;
+ } = host,
+ isMiniTable = host.hasAttribute('mini');
return {
csvFilename,
xlsxFilename,
xlsxSheetname,
topPlacement,
+ isMiniTable,
...rest,
};
};