|
@@ -58,7 +58,7 @@ class UsersReportController extends AdminController
|
|
$actions->disableView();
|
|
$actions->disableView();
|
|
$actions->disableEdit();
|
|
$actions->disableEdit();
|
|
$actions->disableDelete();
|
|
$actions->disableDelete();
|
|
- if($actions->model()->status==0){
|
|
|
|
|
|
+ if($actions->row->status==0){
|
|
$actions->append(new Report(UserReportModel::class));
|
|
$actions->append(new Report(UserReportModel::class));
|
|
}
|
|
}
|
|
});
|
|
});
|