mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
- gate implementation
- protected shared view fix
This commit is contained in:
@@ -145,7 +145,7 @@ class User extends Authenticatable implements MustVerifyEmail
|
||||
*/
|
||||
public function favouriteFolders(): BelongsToMany
|
||||
{
|
||||
return $this->belongsToMany(Folder::class, 'favourite_folder', 'user_id', 'folder_id', 'id', 'id')
|
||||
return $this->belongsToMany(Folder::class, 'favourite_folder', 'user_id', 'parent_id', 'id', 'id')
|
||||
->where('team_folder', false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user