Skip to content

Commit

Permalink
[7.x] Fix missing title on fieldtype dropdown options (#617)
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean authored Sep 27, 2024
1 parent 2b60b53 commit 0c20319
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Http/Resources/CP/ListedModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public function toArray($request): array

return [
'id' => $model->getKey(),
'title' => $model->getAttribute($this->runwayResource->titleField()),
'published' => $this->resource->published(),
'status' => $this->resource->publishedStatus(),
'edit_url' => $model->runwayEditUrl(),
Expand Down

0 comments on commit 0c20319

Please sign in to comment.