We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86419ca commit 2319872Copy full SHA for 2319872
src/app/Library/Uploaders/SingleFile.php
@@ -22,7 +22,7 @@ public function uploadFiles(Model $entry, $value = null)
22
23
return $this->getPath().$fileName;
24
}
25
-
+
26
if (! $value && CrudPanelFacade::getRequest()->has($this->getRepeatableContainerName() ?? $this->getName()) && $previousFile) {
27
Storage::disk($this->getDisk())->delete($previousFile);
28
0 commit comments