-
app/Http/Livewire/BackupPanel.php
Open in GitHubuse Livewire\Component; class BackupPanel extends Component { // final public function deleteFile(): void { // $this->files = collect($this->files) ->reject(fn ($file) => $file['path'] === $deletingFile['path'] && $file['date'] === $deletingFile['date'] && $file['size'] === $deletingFile['size']) ->values() ->all(); } // }