SDA-4087 out of office presence bugfix (#1754)

This commit is contained in:
Salah Benmoussati 2023-03-09 10:03:08 +01:00 committed by GitHub
parent ddf7e67728
commit e0197135e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -196,11 +196,11 @@ class PresenceStatus {
)(), )(),
type: 'checkbox', type: 'checkbox',
visible: isMana, visible: isMana,
checked: presence.statusGroup === EPresenceStatusGroup.OFFLINE, checked: presence.statusGroup === EPresenceStatusGroup.ABSENT,
click: () => { click: () => {
this.handlePresenceChange( this.handlePresenceChange(
EPresenceStatusCategory.OUT_OF_OFFICE, EPresenceStatusCategory.OUT_OF_OFFICE,
EPresenceStatusGroup.OFFLINE, EPresenceStatusGroup.ABSENT,
); );
}, },
}, },