diff --git a/src/components/views/elements/TagTile.js b/src/components/views/elements/TagTile.js index c59aaeefa4..6a12c87024 100644 --- a/src/components/views/elements/TagTile.js +++ b/src/components/views/elements/TagTile.js @@ -30,6 +30,7 @@ import GroupStore from '../../../stores/GroupStore'; import TagOrderStore from '../../../stores/TagOrderStore'; import MatrixClientContext from "../../../contexts/MatrixClientContext"; import AccessibleButton from "./AccessibleButton"; +import SettingsStore from "../../../settings/SettingsStore"; // A class for a child of TagPanel (possibly wrapped in a DNDTagTile) that represents // a thing to click on for the user to filter the visible rooms in the RoomList to: @@ -112,6 +113,7 @@ export default createReactClass({ }, onMouseOver: function() { + if (SettingsStore.getValue("feature_communities_v2_prototypes")) return; this.setState({ hover: true }); }, @@ -123,6 +125,7 @@ export default createReactClass({ // Prevent the TagTile onClick event firing as well e.stopPropagation(); e.preventDefault(); + if (SettingsStore.getValue("feature_communities_v2_prototypes")) return; this.setState({ hover: false }); this.props.openMenu(); },