fix video audio button (swapped) and lable in story

This commit is contained in:
Timo K
2026-05-11 11:25:40 +02:00
parent 8213612135
commit 9b07b37cec
2 changed files with 5 additions and 5 deletions

View File

@@ -143,7 +143,7 @@ export const CallFooter: FC<FooterProps> = ({
<MediaMuteAndSwitchButton <MediaMuteAndSwitchButton
title={"Mic Source"} title={"Mic Source"}
key="audio" key="audio"
iconsAndLabels="video" iconsAndLabels="audio"
enabled={audioEnabled ?? false} enabled={audioEnabled ?? false}
onMuteClick={toggleAudio} onMuteClick={toggleAudio}
data-testid="incall_mute" data-testid="incall_mute"
@@ -168,11 +168,11 @@ export const CallFooter: FC<FooterProps> = ({
buttons.push( buttons.push(
<MediaMuteAndSwitchButton <MediaMuteAndSwitchButton
title={"Camera Source"} title={"Camera Source"}
key="audio" key="video"
iconsAndLabels="audio" iconsAndLabels="video"
enabled={videoEnabled ?? false} enabled={videoEnabled ?? false}
onMuteClick={toggleVideo} onMuteClick={toggleVideo}
data-testid="incall_mute" data-testid="incall_videomute"
options={videoOptions} options={videoOptions}
selectedOption={selectedVideo} selectedOption={selectedVideo}
onSelect={selectVideoDevice} onSelect={selectVideoDevice}

View File

@@ -107,7 +107,7 @@ export const VideoUnmute: Story = {
], ],
toggles: [ toggles: [
{ {
label: "background blurring", label: "Blur Background",
id: "background_blurring", id: "background_blurring",
enabled: false, enabled: false,
}, },