fix(journalist): remove $this

This commit is contained in:
Yoga Pangestu 2025-12-05 09:09:44 +07:00
parent 0167811e47
commit 2f8c862ee9

View File

@ -38,11 +38,11 @@ protected function getHeaderActions(): array
];
foreach ($documents as $field) {
if (empty($this->data[$field])) {
if (empty($data[$field])) {
continue;
}
foreach ((array) $this->data[$field] as $filePath) {
foreach ((array) $data[$field] as $filePath) {
$fullPath = Storage::disk(config('filesystems.default'))->path($filePath);
if (! file_exists($fullPath)) {