Skip to content

Commit

Permalink
Merge pull request #5186 from EGYWEB-Mohamed/patch-5
Browse files Browse the repository at this point in the history
Add default disk to `image` column
  • Loading branch information
pxpm authored Jul 22, 2024
2 parents 2c77431 + 04f1e03 commit 73c265e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/resources/views/crud/columns/image.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
$column['prefix'] = $column['prefix'] ?? '';
$column['temporary'] = $column['temporary'] ?? false;
$column['expiration'] = $column['expiration'] ?? 1;
$column['disk'] = $column['disk'] ?? config('filesystems.default');
if($column['value'] instanceof \Closure) {
$column['value'] = $column['value']($entry);
Expand Down

0 comments on commit 73c265e

Please sign in to comment.