Skip to content

Commit

Permalink
The table calendar view breaks for secretaries and providers due to a…
Browse files Browse the repository at this point in the history
…ppointment and unavailability removals (#1211)
  • Loading branch information
alextselegidis committed May 10, 2022
1 parent 9b70a9b commit cc697fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions application/controllers/Backend_api.php
Expand Up @@ -134,6 +134,10 @@ public function ajax_get_calendar_events()
}
}

$response['appointments'] = array_values($response['appointments']);

$response['unavailability_events'] = array_values($response['unavailability_events']);

$this->output->set_output(json_encode($response));
}
catch (Exception $exception)
Expand Down

0 comments on commit cc697fc

Please sign in to comment.