Feat: Show working hours on widget (#1823)

Feat: Display out of office message based on business hours

Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
Co-authored-by: Sojan Jose <sojan@pepalo.com>
This commit is contained in:
Nithin David Thomas
2021-03-13 11:44:28 +05:30
committed by GitHub
parent 1d2e1a2823
commit 6c87001a0e
8 changed files with 119 additions and 21 deletions

View File

@@ -46,5 +46,8 @@ export default {
return this.$t('REPLY_TIME.IN_A_FEW_HOURS');
}
},
outOfOfficeMessage() {
return this.channelConfig.outOfOfficeMessage;
},
},
};

View File

@@ -1,10 +0,0 @@
export default {
computed: {
teamAvailabilityStatus() {
if (this.availableAgents.length) {
return this.$t('TEAM_AVAILABILITY.ONLINE');
}
return this.$t('TEAM_AVAILABILITY.OFFLINE');
},
},
};