From 7b62abc14b88c2d9dacdbcea6f332724656e01f1 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 4 Sep 2023 18:48:55 +0100 Subject: [PATCH] Only show Search button in RoomSummaryCard if new room UI enabled (#11524) * Only show Search button in RoomSummaryCard if new room UI enabled * Update snapshot --- .../views/right_panel/RoomSummaryCard.tsx | 18 ++++++++++-------- .../RoomSummaryCard-test.tsx.snap | 7 ------- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/src/components/views/right_panel/RoomSummaryCard.tsx b/src/components/views/right_panel/RoomSummaryCard.tsx index 2fbccfb57f..982f04bf90 100644 --- a/src/components/views/right_panel/RoomSummaryCard.tsx +++ b/src/components/views/right_panel/RoomSummaryCard.tsx @@ -343,14 +343,16 @@ const RoomSummaryCard: React.FC = ({ room, permalinkCreator, onClose, on {_t("common|people")} {memberCount} - + {SettingsStore.getValue("feature_new_room_decoration_ui") && ( + + )} {!isVideoRoom && (