Skip to content

Commit 1634184

Browse files
revert show apps tab in connect flow (#21104)
Co-authored-by: Paul <paul.anuschek@outlook.de>
1 parent 15a4396 commit 1634184

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

  • apps/webapp/src/script/page/LeftSidebar/panels/StartUI

apps/webapp/src/script/page/LeftSidebar/panels/StartUI/StartUI.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,10 @@ const StartUI = ({
9090

9191
const actions = mainViewModel.actions;
9292
const isTeam = teamState.isTeam();
93-
const appsEnabled = teamState?.isAppsEnabled();
9493
const defaultProtocol = teamState.teamFeatures()?.mls?.config.defaultProtocol;
9594
const isProteus = defaultProtocol !== CONVERSATION_PROTOCOL.MLS;
9695

97-
const showServiceTab =
98-
isTeam &&
99-
canChatWithServices() &&
100-
((isProteus && teamState?.hasWhitelistedServices()) || (!isProteus && appsEnabled));
96+
const showServiceTab = isTeam && canChatWithServices() && isProteus && teamState?.hasWhitelistedServices();
10197

10298
const [searchQuery, setSearchQuery] = useState('');
10399
const [activeTab, setActiveTab] = useState(Tabs.PEOPLE);

0 commit comments

Comments
 (0)