diff --git a/app/Filament/Server/Resources/Files/Pages/ListFiles.php b/app/Filament/Server/Resources/Files/Pages/ListFiles.php index 93d87930c..e83217ea4 100644 --- a/app/Filament/Server/Resources/Files/Pages/ListFiles.php +++ b/app/Filament/Server/Resources/Files/Pages/ListFiles.php @@ -505,7 +505,7 @@ class ListFiles extends ListRecords ->color('primary') ->action(function ($data) { try { - $this->getDaemonFileRepository()->createDirectory($data['name'], $this->path); + $this->createFolder($data['name']); Activity::event('server:file.create-directory') ->property(['directory' => $this->path, 'name' => $data['name']])