diff --git a/web/app/Livewire/FileManager.php b/web/app/Livewire/FileManager.php index 4405769..17edb4b 100644 --- a/web/app/Livewire/FileManager.php +++ b/web/app/Livewire/FileManager.php @@ -53,12 +53,11 @@ class FileManager extends Component public function back() { + $this->canIBack = false; + $newRealPath = dirname($this->currentRealPath); - if (Str::startsWith($newRealPath, $this->domainHomeRoot)) { $this->currentRealPath = $newRealPath; - } else { - $this->canIBack = false; } }