Fix some DOM errors
Change-Id: I22a108fd5ce6a344e629e4af0345a0221de44052
This commit is contained in:
parent
a5528d9fe7
commit
5ee5288edf
@ -171,7 +171,7 @@ const RoomDirectoryFilter = ({ ...props }) => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export const FilterableRoomDirectoryList = ({ ...props }) => {
|
export const FilterableRoomDirectoryList = ({ dispatch, ...props }) => {
|
||||||
const classes = useStyles();
|
const classes = useStyles();
|
||||||
const translate = useTranslate();
|
const translate = useTranslate();
|
||||||
const filter = props.roomDirectoryFilters;
|
const filter = props.roomDirectoryFilters;
|
||||||
@ -242,7 +242,7 @@ export const FilterableRoomDirectoryList = ({ ...props }) => {
|
|||||||
|
|
||||||
function mapStateToProps(state) {
|
function mapStateToProps(state) {
|
||||||
return {
|
return {
|
||||||
roomDirectoryFilters:
|
roomdirectoryfilters:
|
||||||
state.admin.resources.room_directory.list.params.displayedFilters,
|
state.admin.resources.room_directory.list.params.displayedFilters,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -305,8 +305,8 @@ const RoomFilter = ({ ...props }) => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
const FilterableRoomList = ({ ...props }) => {
|
const FilterableRoomList = ({ roomFilters, dispatch, ...props }) => {
|
||||||
const filter = props.roomFilters;
|
const filter = roomFilters;
|
||||||
const localMembersFilter =
|
const localMembersFilter =
|
||||||
filter && filter.joined_local_members ? true : false;
|
filter && filter.joined_local_members ? true : false;
|
||||||
const stateEventsFilter = filter && filter.state_events ? true : false;
|
const stateEventsFilter = filter && filter.state_events ? true : false;
|
||||||
|
Loading…
Reference in New Issue
Block a user