Skip to content

Commit 2663b8f

Browse files
committed
Fixed documentation
1 parent f730fcb commit 2663b8f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

doc/table-view.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ public function getConfirmationMessage($item = null)
413413
```
414414

415415
# Showing UI components
416-
You can display some UI components instead of plain text like avaters, badges or icons, some of these components has different variants, you can customize these varians with the `laravel-views.php` config file.
416+
You can display some UI components instead of plain text like avatars, badges or icons, some of these components has different variants, you can customize these varians with the `laravel-views.php` config file.
417417

418418
## Avatar
419419
Shows an 32x32 rounded image

resources/views/components/dropdown/drop-down.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class="relative"
1616
<span @click="open = true" class="cursor-pointer">
1717
@if ($label)
1818
<x-lv-select-button>
19-
{{ $label }}
19+
{{ __($label) }}
2020
</x-lv-select-button>
2121
@else
2222
@isset($trigger)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@props(['label' => ''])
22

33
<div class="border-b border-t border-gray-200 bg-gray-100 text-xs font-semibold uppercase text-left px-4 py-2">
4-
{{ $label }}
4+
{{ __($label) }}
55
</div>

resources/views/components/toolbar/sorting.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
@endif
1616
</x-lv-select-button>
1717
</x-slot>
18-
<div class="border-b border-t border-gray-200 bg-gray-100 text-xs font-semibold uppercase text-left px-4 py-2">
19-
{{ __('Sort By') }}
20-
</div>
18+
19+
<x-lv-drop-down.header label="Sort by" />
20+
2121
{{-- Each sortable item --}}
2222
@foreach ($sortableBy as $title => $column)
2323
<a href="#!"

0 commit comments

Comments
 (0)