Skip to content

Commit

Permalink
Show blueprint/fieldset title instead of handle
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Nov 14, 2023
1 parent 8c3ca8e commit 48808af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions resources/js/components/fieldsets/FieldsetDeleter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
<li
v-for="item in items"
:key="item.handle"
class="font-mono text-sm mb-1"
v-text="item.handle"
class="font-mono text-sm mb-1.5"
v-text="item.title"
></li>
</ul>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Controllers/CP/Fields/FieldsetController.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function index(Request $request)
$group = __('Fieldsets');
}

return [$group => ['handle' => $item->handle(), 'url' => $item]];
return [$group => ['handle' => $item->handle(), 'title' => $item->title()]];
}),
'is_deletable' => $fieldset->isDeletable(),
'title' => $fieldset->title(),
Expand Down

0 comments on commit 48808af

Please sign in to comment.