Skip to content

Commit f2c8b26

Browse files
committed
fix widgets filament 4
1 parent aca11fd commit f2c8b26

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

app/Filament/App/Widgets/FanChartWidget.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ public function mount(): void
1919
#[\Override]
2020
public function render(): \Illuminate\Contracts\View\View
2121
{
22-
return view(static::$view, ['people' => $this->people]);
22+
return view($this->view, ['people' => $this->people]);
2323
}
2424
}

app/Filament/App/Widgets/PeopleWidget.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ protected function getTableColumns(): array
3232
protected function getTableActions(): array
3333
{
3434
return [
35-
Tables\Actions\ViewAction::make(),
35+
// Tables\Actions\ViewAction::make(),
3636
];
3737
}
3838
}

app/Filament/App/Widgets/SocialLinksWidget.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class SocialLinksWidget extends Widget
1111
#[\Override]
1212
public function render(): \Illuminate\Contracts\View\View
1313
{
14-
return view(static::$view, [
14+
return view($this->view, [
1515
'links' => [
1616
'GitHub' => 'https://www.github.com/liberu-genealogy',
1717
'Facebook Page' => 'https://www.facebook.com/familytree365',

resources/views/filament/app/widgets/social-links-widget.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<x-filament::widget>
1+
<x-filament-widgets::widget>
22
<x-filament::card>
33
<h2 class="text-lg font-medium mb-4">Social Links</h2>
44
<div class="space-y-4">
@@ -26,4 +26,4 @@
2626
@endforeach
2727
</div>
2828
</x-filament::card>
29-
</x-filament::widget>
29+
</x-filament-widgets::widget>

resources/views/livewire/fan-chart-component.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<x-filament::widget class="filament-fan-chart-widget">
1+
<x-filament-widgets::widget class="filament-fan-chart-widget">
22
<x-filament::card>
33
<div id="fanChartContainer"></div>
44
</x-filament::card>
@@ -17,4 +17,4 @@
1717
});
1818
</script>
1919
@endpush
20-
</x-filament::widget>
20+
</x-filament-widgets::widget>

0 commit comments

Comments
 (0)