FS-8221 [verto_communicator] Fix number in call history

This commit is contained in:
Stefan Yohansson 2015-09-26 10:19:55 -03:00
parent 90124856d4
commit 555be3733b
1 changed files with 2 additions and 2 deletions

View File

@ -349,11 +349,11 @@
$scope.answerCall();
storage.data.called_number = data;
CallHistory.add(number, 'inbound', true);
CallHistory.add(data, 'inbound', true);
$location.path('/incall');
}, function() {
$scope.declineCall();
CallHistory.add(number, 'inbound', false);
CallHistory.add(data, 'inbound', false);
});
});