We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e107c0f commit 7c22d9aCopy full SHA for 7c22d9a
apps/meteor/app/livechat-enterprise/client/startup.ts
@@ -15,7 +15,7 @@ const businessHours: Record<string, IBusinessHourBehavior> = {
15
Meteor.startup(() => {
16
Tracker.autorun(async () => {
17
const bhType = settings.get<string>('Livechat_business_hour_type');
18
- if ((await hasLicense('livechat-enterprise')) && bhType) {
+ if (bhType && (await hasLicense('livechat-enterprise'))) {
19
businessHourManager.registerBusinessHourBehavior(businessHours[bhType.toLowerCase()]);
20
}
21
});
0 commit comments