Skip to content

Commit 4413834

Browse files
authored
fix(ccwidgets): make addressbook enabled by default for outdial (#587)
1 parent 99f962d commit 4413834

File tree

7 files changed

+405
-31
lines changed

7 files changed

+405
-31
lines changed

packages/contact-center/cc-components/src/components/task/OutdialCall/outdial-call.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const OutdialCallComponent: React.FunctionComponent<OutdialCallComponentProps> =
3434
getOutdialANIEntries,
3535
isTelephonyTaskActive,
3636
getAddressBookEntries,
37-
isAddressBookEnabled,
37+
isAddressBookEnabled = true,
3838
} = props;
3939

4040
const TABS = {

packages/contact-center/cc-components/src/components/task/task.types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,8 +548,9 @@ export interface OutdialCallProps {
548548

549549
/**
550550
* Flag to determine if the address book is enabled.
551+
* Defaults to true if not provided.
551552
*/
552-
isAddressBookEnabled: boolean;
553+
isAddressBookEnabled?: boolean;
553554

554555
/**
555556
* Boolean indicating if there's an active telephony task.

0 commit comments

Comments
 (0)