From 0f82926e64736f27a07b4fcf2a9b08ec8fbdddca Mon Sep 17 00:00:00 2001 From: Jean-Roch Maitre Date: Wed, 21 Jun 2017 11:30:31 -0700 Subject: [PATCH] UI-2765: fix typo with call recording field --- submodules/users/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/users/users.js b/submodules/users/users.js index ef1573d..35b0801 100644 --- a/submodules/users/users.js +++ b/submodules/users/users.js @@ -2229,7 +2229,7 @@ define(function(require) { } } - if (currentAccount.hasOwnProperty('call_recording') && currentAccount.call_recording.hasOwnProperty('account')) { + if (currentAccount.hasOwnProperty('call_recording') && currentAccount.call_recording.hasOwnProperty('endpoint')) { if (currentAccount.call_recording.endpoint.hasOwnProperty(category)) { if (currentAccount.call_recording.endpoint[category].hasOwnProperty(direction) && currentAccount.call_recording.endpoint[category][direction].hasOwnProperty('enabled')) { formattedData.extra[category][direction].accountValue = currentAccount.call_recording.endpoint[category][direction].enabled === true ? self.i18n.active().users.callRecording.toggleValues.on : self.i18n.active().users.callRecording.toggleValues.off;