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 8849ab7 commit 0630c26Copy full SHA for 0630c26
src/resources/views/crud/columns/upload_multiple.blade.php
@@ -11,9 +11,11 @@
11
return $prefix.$file_path;
12
}
13
14
- return isset($column['temporary']) ?
15
- asset(\Storage::disk($disk)->temporaryUrl($file_path, Carbon\Carbon::now()->addMinutes($column['temporary']))) :
16
- asset(\Storage::disk($disk)->url($file_path));
+ if (isset($column['temporary'])) {
+ return asset(\Storage::disk($disk)->temporaryUrl($file_path, Carbon\Carbon::now()->addMinutes($column['temporary'])));
+ }
17
+
18
+ return asset(\Storage::disk($disk)->url($file_path));
19
};
20
21
if($column['value'] instanceof \Closure) {
0 commit comments