mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2024-12-23 05:23:18 +00:00
Fix some DOM errors
Change-Id: I22a108fd5ce6a344e629e4af0345a0221de44052
This commit is contained in:
parent
a5528d9fe7
commit
5ee5288edf
2 changed files with 4 additions and 4 deletions
|
@ -171,7 +171,7 @@ const RoomDirectoryFilter = ({ ...props }) => {
|
|||
);
|
||||
};
|
||||
|
||||
export const FilterableRoomDirectoryList = ({ ...props }) => {
|
||||
export const FilterableRoomDirectoryList = ({ dispatch, ...props }) => {
|
||||
const classes = useStyles();
|
||||
const translate = useTranslate();
|
||||
const filter = props.roomDirectoryFilters;
|
||||
|
@ -242,7 +242,7 @@ export const FilterableRoomDirectoryList = ({ ...props }) => {
|
|||
|
||||
function mapStateToProps(state) {
|
||||
return {
|
||||
roomDirectoryFilters:
|
||||
roomdirectoryfilters:
|
||||
state.admin.resources.room_directory.list.params.displayedFilters,
|
||||
};
|
||||
}
|
||||
|
|
|
@ -305,8 +305,8 @@ const RoomFilter = ({ ...props }) => {
|
|||
);
|
||||
};
|
||||
|
||||
const FilterableRoomList = ({ ...props }) => {
|
||||
const filter = props.roomFilters;
|
||||
const FilterableRoomList = ({ roomFilters, dispatch, ...props }) => {
|
||||
const filter = roomFilters;
|
||||
const localMembersFilter =
|
||||
filter && filter.joined_local_members ? true : false;
|
||||
const stateEventsFilter = filter && filter.state_events ? true : false;
|
||||
|
|
Loading…
Reference in a new issue