From cebd34053b51effee09f2ef6481fd6aa4eee53af Mon Sep 17 00:00:00 2001 From: Sojan Jose Date: Fri, 15 Oct 2021 00:30:48 +0530 Subject: [PATCH] chore: Use availability in dashboard presence toggle (#3212) --- .../components/layout/AvailabilityStatus.vue | 12 ++++++------ .../layout/specs/AvailabilityStatus.spec.js | 4 ++-- app/javascript/dashboard/helper/actionCable.js | 2 +- app/javascript/dashboard/store/modules/auth.js | 10 +++++----- .../store/modules/specs/auth/actions.spec.js | 6 +++--- .../store/modules/specs/auth/getters.spec.js | 4 ++-- app/views/api/v1/models/_user.json.jbuilder | 3 +++ 7 files changed, 22 insertions(+), 19 deletions(-) diff --git a/app/javascript/dashboard/components/layout/AvailabilityStatus.vue b/app/javascript/dashboard/components/layout/AvailabilityStatus.vue index ec26b8bce..b7194355b 100644 --- a/app/javascript/dashboard/components/layout/AvailabilityStatus.vue +++ b/app/javascript/dashboard/components/layout/AvailabilityStatus.vue @@ -1,7 +1,7 @@