Fix double-tooltips
This commit is contained in:
parent
85be845f16
commit
5f0501a18a
1 changed files with 4 additions and 4 deletions
|
@ -178,7 +178,7 @@ export default function RoomHeader({ room }: { room: Room }): JSX.Element {
|
||||||
<Tooltip label={!voiceCallDisabledReason ? _t("voip|voice_call") : voiceCallDisabledReason!}>
|
<Tooltip label={!voiceCallDisabledReason ? _t("voip|voice_call") : voiceCallDisabledReason!}>
|
||||||
<IconButton
|
<IconButton
|
||||||
disabled={!!voiceCallDisabledReason}
|
disabled={!!voiceCallDisabledReason}
|
||||||
title={!voiceCallDisabledReason ? _t("voip|voice_call") : voiceCallDisabledReason!}
|
aria-label={!voiceCallDisabledReason ? _t("voip|voice_call") : voiceCallDisabledReason!}
|
||||||
onClick={(evt) => {
|
onClick={(evt) => {
|
||||||
evt.stopPropagation();
|
evt.stopPropagation();
|
||||||
placeCall(room, CallType.Voice, voiceCallType);
|
placeCall(room, CallType.Voice, voiceCallType);
|
||||||
|
@ -191,7 +191,7 @@ export default function RoomHeader({ room }: { room: Room }): JSX.Element {
|
||||||
<Tooltip label={!videoCallDisabledReason ? _t("voip|video_call") : videoCallDisabledReason!}>
|
<Tooltip label={!videoCallDisabledReason ? _t("voip|video_call") : videoCallDisabledReason!}>
|
||||||
<IconButton
|
<IconButton
|
||||||
disabled={!!videoCallDisabledReason}
|
disabled={!!videoCallDisabledReason}
|
||||||
title={!videoCallDisabledReason ? _t("voip|video_call") : videoCallDisabledReason!}
|
aria-label={!videoCallDisabledReason ? _t("voip|video_call") : videoCallDisabledReason!}
|
||||||
onClick={(evt) => {
|
onClick={(evt) => {
|
||||||
evt.stopPropagation();
|
evt.stopPropagation();
|
||||||
placeCall(room, CallType.Video, videoCallType);
|
placeCall(room, CallType.Video, videoCallType);
|
||||||
|
@ -207,7 +207,7 @@ export default function RoomHeader({ room }: { room: Room }): JSX.Element {
|
||||||
evt.stopPropagation();
|
evt.stopPropagation();
|
||||||
showOrHidePanel(RightPanelPhases.ThreadPanel);
|
showOrHidePanel(RightPanelPhases.ThreadPanel);
|
||||||
}}
|
}}
|
||||||
title={_t("common|threads")}
|
aria-label={_t("common|threads")}
|
||||||
>
|
>
|
||||||
<ThreadsIcon />
|
<ThreadsIcon />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
|
@ -219,7 +219,7 @@ export default function RoomHeader({ room }: { room: Room }): JSX.Element {
|
||||||
evt.stopPropagation();
|
evt.stopPropagation();
|
||||||
showOrHidePanel(RightPanelPhases.NotificationPanel);
|
showOrHidePanel(RightPanelPhases.NotificationPanel);
|
||||||
}}
|
}}
|
||||||
title={_t("Notifications")}
|
aria-label={_t("Notifications")}
|
||||||
>
|
>
|
||||||
<NotificationsIcon />
|
<NotificationsIcon />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
|
|
Loading…
Reference in a new issue