mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-09 15:00:07 +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) {
|
AddressbookApp.prototype.videoconference_isUserOnline = function (_action, _selected) {
|
||||||
var _a;
|
var _a;
|
||||||
var list = app.status.getEntireList();
|
var list = app.status ? app.status.getEntireList() : {};
|
||||||
for (var sel in _selected) {
|
for (var sel in _selected) {
|
||||||
if (sel == '0' && _selected[sel]['id'] == 'nm')
|
if (sel == '0' && _selected[sel]['id'] == 'nm')
|
||||||
continue;
|
continue;
|
||||||
|
@ -1325,7 +1325,7 @@ class AddressbookApp extends EgwApp
|
|||||||
*/
|
*/
|
||||||
private videoconference_isUserOnline(_action, _selected)
|
private videoconference_isUserOnline(_action, _selected)
|
||||||
{
|
{
|
||||||
let list = app.status.getEntireList();
|
let list = app.status ? app.status.getEntireList() : {};
|
||||||
for (let sel in _selected)
|
for (let sel in _selected)
|
||||||
{
|
{
|
||||||
if (sel == '0' && _selected[sel]['id'] == 'nm') continue;
|
if (sel == '0' && _selected[sel]['id'] == 'nm') continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user