Skip to content

Commit

Permalink
chore: update support window
Browse files Browse the repository at this point in the history
Update the support window to match the time where the Success team is
available.
  • Loading branch information
stnguyen90 committed Jul 19, 2024
1 parent a9a2b14 commit c465c03
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/support.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
$organization?.billingPlan === BillingPlan.PRO ||
$organization?.billingPlan === BillingPlan.SCALE;
$: supportTimings = `${utcHourToLocaleHour('09:00')} - ${utcHourToLocaleHour('17:00')} ${localeTimezoneName()}`;
$: supportTimings = `${utcHourToLocaleHour('16:00')} - ${utcHourToLocaleHour('00:00')} ${localeTimezoneName()}`;
</script>

{#if isCloud}
Expand Down
4 changes: 2 additions & 2 deletions src/routes/console/supportWizard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@
$wizard.finalAction = handleSubmit;
const workTimings = {
start: '09:00',
end: '17:00',
start: '16:00',
end: '00:00',
startDay: 'Monday' as WeekDay,
endDay: 'Friday' as WeekDay
};
Expand Down
2 changes: 1 addition & 1 deletion src/routes/console/wizard/support/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function isSupportOnline() {
return false;
}

if (hour < 9 || hour > 17) {
if (hour < 14) {
return false;
}

Expand Down

0 comments on commit c465c03

Please sign in to comment.