fix audit logs
This commit is contained in:
parent
e3334e61e7
commit
e379cfbe6b
@ -29,10 +29,10 @@
|
||||
}
|
||||
|
||||
if (isset($model->subject->name)) {
|
||||
return $model->subject->name;
|
||||
return $model->subject->name ?? $model->subject->user()->first()->name;
|
||||
}
|
||||
|
||||
return $model->subject->user()->first()->name;
|
||||
return "-";//$model->subject->user()->first()->name;
|
||||
})
|
||||
->editColumn('causer_id', function (Activity $model) {
|
||||
return $model->causer ? $model->causer->name : __('System');
|
||||
|
Loading…
Reference in New Issue
Block a user