diff --git a/src/components/RegistrationTokens.js b/src/components/RegistrationTokens.js
index 28213e5..97a2581 100644
--- a/src/components/RegistrationTokens.js
+++ b/src/components/RegistrationTokens.js
@@ -6,7 +6,6 @@ import {
DateField,
DateTimeInput,
Edit,
- Filter,
List,
maxValue,
number,
@@ -53,17 +52,13 @@ const dateFormatter = v => {
return `${year}-${month}-${day}T${hour}:${minute}`;
};
-const RegistrationTokenFilter = props => (
-
-
-
-);
+const registrationTokenFilters = [];
export const RegistrationTokenList = props => {
return (
}
+ filters={registrationTokenFilters}
filterDefaultValues={{ valid: true }}
pagination={false}
perPage={500}
diff --git a/src/components/destinations.js b/src/components/destinations.js
index 0190375..6027258 100644
--- a/src/components/destinations.js
+++ b/src/components/destinations.js
@@ -3,7 +3,6 @@ import {
Button,
Datagrid,
DateField,
- Filter,
List,
Pagination,
ReferenceField,
@@ -41,13 +40,7 @@ const destinationRowSx = (record, _index) => ({
backgroundColor: record.retry_last_ts > 0 ? "#ffcccc" : "white",
});
-const DestinationFilter = props => {
- return (
-
-
-
- );
-};
+const destinationFilters = [];
export const DestinationReconnectButton = props => {
const record = useRecordContext();
@@ -110,7 +103,7 @@ export const DestinationList = props => {
return (
}
+ filters={destinationFilters}
pagination={}
sort={{ field: "destination", order: "ASC" }}
>
diff --git a/src/components/rooms.js b/src/components/rooms.js
index 7d46538..23d2000 100644
--- a/src/components/rooms.js
+++ b/src/components/rooms.js
@@ -7,7 +7,6 @@ import {
DatagridConfigurable,
DeleteButton,
ExportButton,
- Filter,
FunctionField,
List,
NumberField,
@@ -290,11 +289,7 @@ const RoomBulkActionButtons = () => (
>
);
-const RoomFilter = props => (
-
-
-
-);
+const roomFilters = [];
const RoomListActions = () => (
@@ -310,7 +305,7 @@ export const RoomList = () => {
}
sort={{ field: "name", order: "ASC" }}
- filters={}
+ filters={roomFilters}
actions={}
>
(
);
-const UserMediaStatsFilter = props => (
-
-
-
-);
+const userMediaStatsFilters = [];
export const UserMediaStatsList = props => {
return (
}
- filters={}
+ filters={userMediaStatsFilters}
pagination={}
sort={{ field: "media_length", order: "DESC" }}
>
diff --git a/src/components/users.js b/src/components/users.js
index 26853ac..53d0e5a 100644
--- a/src/components/users.js
+++ b/src/components/users.js
@@ -17,7 +17,6 @@ import {
Create,
Edit,
List,
- Filter,
Toolbar,
SimpleForm,
SimpleFormIterator,
@@ -125,17 +124,15 @@ const UserPagination = props => (
);
-const UserFilter = props => (
-
-
-
-
-
-);
+const userFilters = [
+ ,
+ ,
+ ,
+];
const UserBulkActionButtons = props => (
<>
@@ -153,7 +150,7 @@ export const UserList = props => {
return (
}
+ filters={userFilters}
filterDefaultValues={{ guests: true, deactivated: false }}
sort={{ field: "name", order: "ASC" }}
actions={}