Browse code

BM-13596 Fix: calendar container "dir" value

David Phan authored on 09/10/2018 15:56:09
Showing 1 changed files
... ...
@@ -161,6 +161,9 @@ net.bluemind.folder.service.FoldersService.prototype.getRemoteByUids_ = function
161 161
       folder['dir'] = goog.array.find(owners, function(owner) {
162 162
         return owner['uid'] == folder['owner'];
163 163
       })
164
+      if (folder['dir'] != null) {
165
+        folder['dir']= folder['dir']['value'];
166
+      }
164 167
     })
165 168
     return folders;
166 169
   }, null, this);