mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-28 10:53:40 +03:00
Merge pull request #1326 from eerojaaskelainen/RelFrontFixes
Fixes for frontend problems running in release mode
This commit is contained in:
commit
8879fa7889
2 changed files with 2 additions and 2 deletions
|
@ -129,7 +129,7 @@ class Calendar extends EA_Controller {
|
|||
'timezones' => $this->timezones->to_array(),
|
||||
'privileges' => $privileges,
|
||||
'calendar_view' => $calendar_view,
|
||||
'available_providers' => $available_providers,
|
||||
'available_providers' => array_values($available_providers), // Strip keys to prevent unintended array-to-object conversion
|
||||
'available_services' => $available_services,
|
||||
'secretary_providers' => $secretary_providers,
|
||||
'edit_appointment' => $edit_appointment,
|
||||
|
|
|
@ -878,7 +878,7 @@ App.Utils.CalendarTableView = (function () {
|
|||
const workDateStart = moment(start.format('YYYY-MM-DD') + ' ' + workingPlan[selDayName].start);
|
||||
|
||||
if (start < workDateStart) {
|
||||
unavailabilityPeriod = {
|
||||
const unavailabilityPeriod = {
|
||||
title: lang('not_working'),
|
||||
start: start.toDate(),
|
||||
end: workDateStart.toDate(),
|
||||
|
|
Loading…
Reference in a new issue