xiaogang 3 tahun lalu
induk
melakukan
3fa21d1bea
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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)