mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Fix error when status app is not available
This commit is contained in:
parent
444babdbc8
commit
6e932e09ae
@ -1088,7 +1088,7 @@ var AddressbookApp = /** @class */ (function (_super) {
|
||||
*/
|
||||
AddressbookApp.prototype.videoconference_isUserOnline = function (_action, _selected) {
|
||||
var _a;
|
||||
var list = app.status.getEntireList();
|
||||
var list = app.status ? app.status.getEntireList() : {};
|
||||
for (var sel in _selected) {
|
||||
if (sel == '0' && _selected[sel]['id'] == 'nm')
|
||||
continue;
|
||||
|
@ -1325,7 +1325,7 @@ class AddressbookApp extends EgwApp
|
||||
*/
|
||||
private videoconference_isUserOnline(_action, _selected)
|
||||
{
|
||||
let list = app.status.getEntireList();
|
||||
let list = app.status ? app.status.getEntireList() : {};
|
||||
for (let sel in _selected)
|
||||
{
|
||||
if (sel == '0' && _selected[sel]['id'] == 'nm') continue;
|
||||
|
Loading…
Reference in New Issue
Block a user