We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15a4396 commit 1634184Copy full SHA for 1634184
1 file changed
apps/webapp/src/script/page/LeftSidebar/panels/StartUI/StartUI.tsx
@@ -90,14 +90,10 @@ const StartUI = ({
90
91
const actions = mainViewModel.actions;
92
const isTeam = teamState.isTeam();
93
- const appsEnabled = teamState?.isAppsEnabled();
94
const defaultProtocol = teamState.teamFeatures()?.mls?.config.defaultProtocol;
95
const isProteus = defaultProtocol !== CONVERSATION_PROTOCOL.MLS;
96
97
- const showServiceTab =
98
- isTeam &&
99
- canChatWithServices() &&
100
- ((isProteus && teamState?.hasWhitelistedServices()) || (!isProteus && appsEnabled));
+ const showServiceTab = isTeam && canChatWithServices() && isProteus && teamState?.hasWhitelistedServices();
101
102
const [searchQuery, setSearchQuery] = useState('');
103
const [activeTab, setActiveTab] = useState(Tabs.PEOPLE);
0 commit comments