mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-05-23 21:34:41 +00:00
added it_get_recent_files test
This commit is contained in:
+1
-1
@@ -254,7 +254,7 @@ class User extends Authenticatable
|
||||
*/
|
||||
public function latest_uploads()
|
||||
{
|
||||
return $this->hasMany(File::class)->with(['parent'])->take(40);
|
||||
return $this->hasMany(File::class)->with(['parent:id,name'])->take(40);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user