Hide media device sections in settings if empty

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2023-07-24 12:12:02 +02:00
parent 4cc2d87c90
commit 856158bf34

View File

@@ -262,7 +262,7 @@ export const SettingsModal = (props: Props) => {
);
const tabs: JSX.Element[] = [];
tabs.push(audioTab, videoTab);
if (devices) tabs.push(audioTab, videoTab);
if (!isEmbedded) tabs.push(profileTab);
tabs.push(feedbackTab, moreTab);
if (developerSettingsTab) tabs.push(developerTab);