fixed VoiceCallActive not displaying entries that get sent by the API
This commit is contained in:
@@ -70,8 +70,6 @@ class VoiceCallActiveController extends mfBaseController {
|
||||
private function getActiveCalls(): array {
|
||||
$activeCalls = $this->kolmisoftMore->getActiveCalls();
|
||||
|
||||
return [
|
||||
"rows" => is_null($activeCalls) ? [] : (is_object($activeCalls) ? [$activeCalls] : $activeCalls),
|
||||
];
|
||||
return is_null($activeCalls) ? [] : (is_object($activeCalls) ? [$activeCalls] : $activeCalls);
|
||||
}
|
||||
}
|
||||
@@ -296,7 +296,7 @@ Vue.component('tt-table', {
|
||||
* @param {number} page The page number to fetch data for.
|
||||
* @async
|
||||
*/
|
||||
async fetchData(page = 0) {
|
||||
async fetchData(page = 1) {
|
||||
console.log('Fetching data...');
|
||||
this.expandedRows = {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user