xiaogang 3 anni fa
parent
commit
3fa21d1bea
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      app/Admin/Actions/Users/SetUserInfo.php

+ 2 - 2
app/Admin/Actions/Users/SetUserInfo.php

xqd
@@ -58,8 +58,8 @@ class SetUserInfo extends RowAction
 
     public function render()
     {
-        $form = UsersInfoForm::make(new UserInfoModel(),['user_id'=>$this->getKey()]);
-        return Modal::make()
+        $form = UsersInfoForm::make(new UserInfoModel(),$this->getKey());
+        return Modal::make(new UserInfoModel())
             ->lg()
             ->title($this->title)
             ->body($form)