mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-20 04:43:04 +00:00
HTML style & undef function fix
This commit is contained in:
+1
-1
@@ -269,7 +269,7 @@ app.controller('OcSmsController', ['$scope', '$interval', '$timeout', '$compile'
|
||||
var len = $scope.contacts.length;
|
||||
for (var i=0; i < len; i++) {
|
||||
if ($scope.contacts[i]['nav'] == ct['nav']) {
|
||||
$scope.apply(function () {
|
||||
$scope.$apply(function () {
|
||||
$scope.contacts[i].unread = ct.unread;
|
||||
if (typeof(ct.avatar) != 'undefined') {
|
||||
$scope.contacts[i].avatar = ct.avatar;
|
||||
|
||||
Reference in New Issue
Block a user