mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 15:34:44 +02:00
Order in reverse chronological order
This commit is contained in:
parent
d8f5e1506c
commit
7693106a44
@ -165,8 +165,9 @@ class EditProfile extends \Filament\Pages\Auth\EditProfile
|
|||||||
Repeater::make('activity')
|
Repeater::make('activity')
|
||||||
->deletable(false)
|
->deletable(false)
|
||||||
->addable(false)
|
->addable(false)
|
||||||
->relationship()
|
->relationship(null, function (Builder $query) {
|
||||||
|
$query->orderBy('timestamp', 'desc');
|
||||||
|
})
|
||||||
->schema([
|
->schema([
|
||||||
Placeholder::make('activity!')->label('')->content(fn (ActivityLog $log) => new HtmlString($log->htmlable())),
|
Placeholder::make('activity!')->label('')->content(fn (ActivityLog $log) => new HtmlString($log->htmlable())),
|
||||||
]),
|
]),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user