Remove rowsPerPageOptions optionality
authorDaniel Kos <daniel.kos@contractors.roche.com>
Tue, 31 Jul 2018 23:06:15 +0000 (01:06 +0200)
committerDaniel Kos <daniel.kos@contractors.roche.com>
Tue, 31 Jul 2018 23:06:15 +0000 (01:06 +0200)
Feature #13887

Arvados-DCO-1.1-Signed-off-by: Daniel Kos <daniel.kos@contractors.roche.com>

src/components/data-explorer/data-explorer.tsx
src/store/data-explorer/data-explorer-reducer.ts

index 4a852099f49adca48fca1c2e858f208dc73627ed..46d5fb50f3783c89c9852892716891c6d260732c 100644 (file)
@@ -29,7 +29,7 @@ interface DataExplorerDataProps<T> {
     columns: DataColumns<T>;
     searchValue: string;
     rowsPerPage: number;
-    rowsPerPageOptions?: number[];
+    rowsPerPageOptions: number[];
     page: number;
     onSearch: (value: string) => void;
     onRowClick: (item: T) => void;
index 96586be7ef5c60f4a5d0bd27699be1c9b577a991..1fde652d07b3941bfa9b02207352101a72a4ba4a 100644 (file)
@@ -13,7 +13,7 @@ export interface DataExplorer {
     itemsAvailable: number;
     page: number;
     rowsPerPage: number;
-    rowsPerPageOptions?: number[];
+    rowsPerPageOptions: number[];
     searchValue: string;
 }