From 88757db745ae3b0beea17245920dc74df51c66bb Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 20 Dec 2021 10:04:03 +0000 Subject: [PATCH] Hide non-functional list options on Suggested sublist --- src/components/views/rooms/RoomSublist.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/views/rooms/RoomSublist.tsx b/src/components/views/rooms/RoomSublist.tsx index 8e52cacf9b1..a70a9173c36 100644 --- a/src/components/views/rooms/RoomSublist.tsx +++ b/src/components/views/rooms/RoomSublist.tsx @@ -553,6 +553,8 @@ export default class RoomSublist extends React.Component { } private renderMenu(): React.ReactElement { + if (this.props.tagId === DefaultTagID.Suggested) return null; // not sortable + let contextMenu = null; if (this.state.contextMenuPosition) { const isAlphabetical = RoomListStore.instance.getTagSorting(this.props.tagId) === SortAlgorithm.Alphabetic;