Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/ui-voip/src/ui-kit/getHistoryMessagePayload.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe('callStateToIcon', () => {

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

it('should return correct icon for "failed" state', () => {
Expand Down Expand Up @@ -189,7 +189,7 @@ describe('getHistoryMessagePayload', () => {
{
background: 'default',
elements: [
{ type: 'icon', icon: 'clock', variant: 'danger', framed: true },
{ type: 'icon', icon: 'phone-question-mark', variant: 'warning', framed: true },
{ type: 'mrkdwn', i18n: { key: 'Call_not_answered_bold' }, text: 'Call not answered' },
],
action: actionObj,
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-voip/src/ui-kit/getHistoryMessagePayload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const callStateToIcon = (callState: CallHistoryItemState): FrameableIconE
case 'ended':
return { type: 'icon', icon: 'phone-off', variant: 'secondary', framed: true };
case 'not-answered':
return { type: 'icon', icon: 'clock', variant: 'danger', framed: true };
return { type: 'icon', icon: 'phone-question-mark', variant: 'warning', framed: true };
case 'failed':
case 'error':
return { type: 'icon', icon: 'phone-issue', variant: 'danger', framed: true };
Expand Down
Loading