Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 5096455

Browse files
authored
Hide non-functional list options on Suggested sublist (#7410)
1 parent 097c40b commit 5096455

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/views/rooms/RoomSublist.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,8 @@ export default class RoomSublist extends React.Component<IProps, IState> {
553553
}
554554

555555
private renderMenu(): React.ReactElement {
556+
if (this.props.tagId === DefaultTagID.Suggested) return null; // not sortable
557+
556558
let contextMenu = null;
557559
if (this.state.contextMenuPosition) {
558560
const isAlphabetical = RoomListStore.instance.getTagSorting(this.props.tagId) === SortAlgorithm.Alphabetic;

0 commit comments

Comments
 (0)