Skip to content

Commit 1c4f131

Browse files
committed
Fix callback
1 parent 5553b6d commit 1c4f131

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

resources/views/bootstrap-4/includes/table.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@
116116
:customAttributes="method_exists($this, 'setFooterDataAttributes') ? $this->setFooterDataAttributes($column, $rows) : []"
117117
>
118118
@if ($column->isHtml())
119-
{{ new \Illuminate\Support\HtmlString($column->footerFormatted($row)) }}
119+
{{ new \Illuminate\Support\HtmlString($column->footerFormatted($rows)) }}
120120
@else
121-
{{ $column->footerFormatted($row) }}
121+
{{ $column->footerFormatted($rows) }}
122122
@endif
123123
</x-livewire-tables::bs4.table.footer>
124124
@else

resources/views/bootstrap-5/includes/table.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ class="form-check-input"
118118
:customAttributes="method_exists($this, 'setFooterDataAttributes') ? $this->setFooterDataAttributes($column, $rows) : []"
119119
>
120120
@if ($column->isHtml())
121-
{{ new \Illuminate\Support\HtmlString($column->footerFormatted($row)) }}
121+
{{ new \Illuminate\Support\HtmlString($column->footerFormatted($rows)) }}
122122
@else
123-
{{ $column->footerFormatted($row) }}
123+
{{ $column->footerFormatted($rows) }}
124124
@endif
125125
</x-livewire-tables::bs5.table.footer>
126126
@else

resources/views/tailwind/includes/table.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ class="rounded border-gray-300 text-indigo-600 shadow-sm transition duration-150
134134
:customAttributes="method_exists($this, 'setFooterDataAttributes') ? $this->setFooterDataAttributes($column, $rows) : []"
135135
>
136136
@if ($column->isHtml())
137-
{{ new \Illuminate\Support\HtmlString($column->footerFormatted($row)) }}
137+
{{ new \Illuminate\Support\HtmlString($column->footerFormatted($rows)) }}
138138
@else
139-
{{ $column->footerFormatted($row) }}
139+
{{ $column->footerFormatted($rows) }}
140140
@endif
141141
</x-livewire-tables::table.footer>
142142
@else

0 commit comments

Comments
 (0)