xiaogang 3 tahun lalu
induk
melakukan
e1d7cc541c
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app/Admin/Actions/Users/SetUserInfo.php

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

@@ -58,7 +58,7 @@ class SetUserInfo extends RowAction
 
 
     public function render()
     public function render()
     {
     {
-        $form = UsersInfoForm::make(UserInfoModel::query()->where('user_id')->first());
+        $form = UsersInfoForm::make(UserInfoModel::query()->where('user_id',$this->getKey())->first());
         return Modal::make()
         return Modal::make()
             ->lg()
             ->lg()
             ->title($this->title)
             ->title($this->title)