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 d208c72 commit 9c678e5Copy full SHA for 9c678e5
src/resources/views/crud/columns/image.blade.php
@@ -20,9 +20,9 @@
20
$href = $src = $column['value'];
21
} elseif (isset($column['disk'])) { // image from a different disk (like s3 bucket)
22
23
- if (!empty($column['private_s3_bucket'])) {
+ if (!empty($column['temporary'])) {
24
$href = $src = Storage::disk($column['disk'])
25
- ->temporaryUrl($column['prefix'].$column['value'], now()->addMinute());
+ ->temporaryUrl($column['prefix'].$column['value'], now()->addMinutes((int) $column['temporary']));
26
} else {
27
$href = $src = Storage::disk($column['disk'])->url($column['prefix'].$column['value']);
28
}
0 commit comments