Fix missing string
parent
ebee78acc8
commit
b73c73f07c
|
@ -24,9 +24,9 @@ import dis from '../../../../dispatcher/dispatcher';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import AccessibleTooltipButton from '../../elements/AccessibleTooltipButton';
|
import AccessibleTooltipButton from '../../elements/AccessibleTooltipButton';
|
||||||
|
|
||||||
const callTypeTranslationByType: Record<CallType, () => string> = {
|
const callTypeTranslationByType: Record<CallType, string> = {
|
||||||
[CallType.Video]: () => _t("Video Call"),
|
[CallType.Video]: _t("Video Call"),
|
||||||
[CallType.Voice]: () => _t("Voice Call"),
|
[CallType.Voice]: _t("Voice Call"),
|
||||||
};
|
};
|
||||||
|
|
||||||
interface CallViewHeaderProps {
|
interface CallViewHeaderProps {
|
||||||
|
@ -103,6 +103,7 @@ export const CallViewHeader: React.FC<CallViewHeaderProps> = ({
|
||||||
const callTypeText = callTypeTranslationByType[type];
|
const callTypeText = callTypeTranslationByType[type];
|
||||||
const callRoomName = callRoom.name;
|
const callRoomName = callRoom.name;
|
||||||
const { roomId } = callRoom;
|
const { roomId } = callRoom;
|
||||||
|
|
||||||
if (!pipMode) {
|
if (!pipMode) {
|
||||||
return <div className="mx_CallViewHeader">
|
return <div className="mx_CallViewHeader">
|
||||||
<CallTypeIcon type={type} />
|
<CallTypeIcon type={type} />
|
||||||
|
|
Loading…
Reference in New Issue