Skip to content

Commit ae03539

Browse files
committed
fix: Fix inbound call popup contact info function
1 parent 0e96321 commit ae03539

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pipedrive-embeddable-ringcentral-phone-spa",
3-
"version": "2.12.0",
3+
"version": "2.12.3",
44
"description": "Add RingCentral Embeddable Voice widgets to Pipedrive",
55
"keywords": [
66
"RingCentral",

src/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export async function thirdPartyServiceConfig (serviceName) {
217217
dd.type = 'rc-show-add-contact-panel'
218218
window.postMessage(dd, '*')
219219
} else if (
220-
type === 'rc-active-call-notify'
220+
type === 'rc-call-ring-notify'
221221
) {
222222
showContactInfoPanel(call)
223223
} else if (type === 'rc-region-settings-notify') {

src/features/contacts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export function hideContactInfoPanel () {
191191
export async function showContactInfoPanel (call) {
192192
if (
193193
!call ||
194-
call.telephonyStatus !== 'Ringing' ||
194+
// call.telephonyStatus !== 'Ringing' ||
195195
call.direction === 'Outbound'
196196
) {
197197
return

src/lib/inner-elem.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,4 +215,5 @@ export default () => {
215215
</div>
216216
)
217217
}
218+
return null
218219
}

src/manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Ringcentral Embeddable Widgets for Pipedrive",
3-
"version": "2.12.0",
3+
"version": "2.12.3",
44
"description": "Add RingCentral Embeddable Voice widgets to Pipedrive",
55
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1YqYvCEeGGNOgtKrx8DfG33ujx7NgAwbyVpikug4mHiNvKZYWulw7lY5fjaD8wAy5bmXnkfULDzqMkL8UOxUcf8qD2lJFcLm+BqBtqNnoSz00vwjSOxXrcDvpvsMrjEZkI7N/FD60sTWp1U+QOehua7OboUpXb4iV7TQfppz3PsCz7qGOa4PWjUMAZTTgomUtW47Es6f/vjIeejs7Ihro3Al5Jo3SWIbjpjSU9BK34XgFvtcZx3lZQgfFiK+ZNyxlx8mgC/PLqJB+uX63ywMrT86TdcfxBuaThy98S8SCXjZTpHOP6X5pmGMk0lPM06hwxmSCBZgHOHL/Wk6r8FUlQIDAQAB",
66
"permissions": [
@@ -44,8 +44,8 @@
4444
],
4545
"exclude_matches": [],
4646
"js": [
47-
"./react.production.min.js",
48-
"./react-dom.production.min.js",
47+
"./react.development.js",
48+
"./react-dom.development.js",
4949
"./content.js"
5050
]
5151
}

webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ const to1 = path.resolve(
2929
// )
3030
const f31 = path.resolve(
3131
__dirname,
32-
'node_modules/react/umd/react.production.min.js'
32+
'node_modules/react/umd/react.development.js'
3333
)
3434
const f32 = path.resolve(
3535
__dirname,
36-
'node_modules/react-dom/umd/react-dom.production.min.js'
36+
'node_modules/react-dom/umd/react-dom.development.js'
3737
)
3838
const to4 = path.resolve(
3939
__dirname,

0 commit comments

Comments
 (0)