Hide media device sections in settings if empty
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user