mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 16:32:15 +00:00
TeamFoldersController@show refactored
This commit is contained in:
@@ -201,11 +201,6 @@ class Folder extends Model
|
||||
return $this->hasMany(Folder::class, 'id', 'parent_id');
|
||||
}
|
||||
|
||||
public function teamRoot(): HasMany
|
||||
{
|
||||
return $this->parents()->with('teamRoot');
|
||||
}
|
||||
|
||||
public function getLatestParent()
|
||||
{
|
||||
if ($this->parent) {
|
||||
|
||||
Reference in New Issue
Block a user