We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcad45e commit a176e5aCopy full SHA for a176e5a
src/DataView/DataView.php
@@ -548,7 +548,7 @@ public function to_array(): array {
548
'view' => $this->view(),
549
'fields' => $this->directory_fields_for_json(),
550
'data' => $this->get_data(),
551
- 'actions' => $this->actions ? $this->actions->to_array() : [],
+ 'actions' => array_values( $this->actions ? $this->actions->to_array() : [] ),
552
];
553
}
554
0 commit comments