diff --git a/src/Pages/ListActivities.php b/src/Pages/ListActivities.php index d3ac720..d550fc9 100644 --- a/src/Pages/ListActivities.php +++ b/src/Pages/ListActivities.php @@ -60,8 +60,10 @@ public function form(Form $form): Form public function getActivities() { + $activityModel = config('activitylog.activity_model') ?? Activity::class; + return $this->paginateTableQuery( - $this->applyFilters(Activity::latest()) + $this->applyFilters($activityModel::latest()) ); }