Skip to content

Commit 7c22d9a

Browse files
KevLehmanggazzo
andauthored
Update apps/meteor/app/livechat-enterprise/client/startup.ts
Co-authored-by: Guilherme Gazzo <[email protected]>
1 parent e107c0f commit 7c22d9a

File tree

1 file changed

+1
-1
lines changed
  • apps/meteor/app/livechat-enterprise/client

1 file changed

+1
-1
lines changed

apps/meteor/app/livechat-enterprise/client/startup.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const businessHours: Record<string, IBusinessHourBehavior> = {
1515
Meteor.startup(() => {
1616
Tracker.autorun(async () => {
1717
const bhType = settings.get<string>('Livechat_business_hour_type');
18-
if ((await hasLicense('livechat-enterprise')) && bhType) {
18+
if (bhType && (await hasLicense('livechat-enterprise'))) {
1919
businessHourManager.registerBusinessHourBehavior(businessHours[bhType.toLowerCase()]);
2020
}
2121
});

0 commit comments

Comments
 (0)