Skip to content

Commit 9657d38

Browse files
authored
chore: Change call history message-block not-answered icon (#37903)
1 parent 76d263e commit 9657d38

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/ui-voip/src/ui-kit/getHistoryMessagePayload.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ describe('callStateToIcon', () => {
4242

4343
it('should return correct icon for "not-answered" state', () => {
4444
const result = callStateToIcon('not-answered');
45-
expect(result).toEqual({ type: 'icon', icon: 'clock', variant: 'danger', framed: true });
45+
expect(result).toEqual({ type: 'icon', icon: 'phone-question-mark', variant: 'warning', framed: true });
4646
});
4747

4848
it('should return correct icon for "failed" state', () => {
@@ -189,7 +189,7 @@ describe('getHistoryMessagePayload', () => {
189189
{
190190
background: 'default',
191191
elements: [
192-
{ type: 'icon', icon: 'clock', variant: 'danger', framed: true },
192+
{ type: 'icon', icon: 'phone-question-mark', variant: 'warning', framed: true },
193193
{ type: 'mrkdwn', i18n: { key: 'Call_not_answered_bold' }, text: 'Call not answered' },
194194
],
195195
action: actionObj,

packages/ui-voip/src/ui-kit/getHistoryMessagePayload.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const callStateToIcon = (callState: CallHistoryItemState): FrameableIconE
2323
case 'ended':
2424
return { type: 'icon', icon: 'phone-off', variant: 'secondary', framed: true };
2525
case 'not-answered':
26-
return { type: 'icon', icon: 'clock', variant: 'danger', framed: true };
26+
return { type: 'icon', icon: 'phone-question-mark', variant: 'warning', framed: true };
2727
case 'failed':
2828
case 'error':
2929
return { type: 'icon', icon: 'phone-issue', variant: 'danger', framed: true };

0 commit comments

Comments
 (0)