From 3f6508f81f96a53af1bbbd87ba3cd4e79b9e85c9 Mon Sep 17 00:00:00 2001 From: Jing Li Date: Mon, 6 May 2024 10:25:31 +0800 Subject: [PATCH] Update --- app/Admin/Controllers/System/AdminUserController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Admin/Controllers/System/AdminUserController.php b/app/Admin/Controllers/System/AdminUserController.php index e27142f..fc68080 100644 --- a/app/Admin/Controllers/System/AdminUserController.php +++ b/app/Admin/Controllers/System/AdminUserController.php @@ -24,7 +24,7 @@ class AdminUserController extends AdminController { $crud = $this->baseCRUD() ->headerToolbar([ - $this->createTypeButton('drawer', 'lg')->visible(Admin::user()->can('admin.system.admin_users.create')), + // $this->createTypeButton('drawer', 'lg')->visible(Admin::user()->can('admin.system.admin_users.create')), ...$this->baseHeaderToolBar(), ]) ->bulkActions([])