We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de2ab8a commit af6d7bcCopy full SHA for af6d7bc
1 file changed
app/Filament/App/Widgets/FamilyTreeOverviewWidget.php
@@ -7,10 +7,10 @@
7
8
class FamilyTreeOverviewWidget extends Widget
9
{
10
- protected static string $view = 'filament.app.widgets.family-tree-overview';
11
-
+ protected string $view = 'filament.app.widgets.family-tree-overview';
+
12
protected int | string | array $columnSpan = 'full';
13
14
protected static ?int $sort = 4;
15
16
public function getViewData(): array
@@ -65,4 +65,4 @@ private function calculateGenerations(): int
65
return Person::selectRaw('MAX(CASE WHEN deathday IS NULL THEN 0 ELSE YEAR(CURDATE()) - YEAR(birthday) END) / 25 as generations')
66
->value('generations') ?? 1;
67
}
68
-}
+}
0 commit comments