diff --git a/src/Traits/ExportableJob.php b/src/Traits/ExportableJob.php index 1ade2f6d..8cde528f 100644 --- a/src/Traits/ExportableJob.php +++ b/src/Traits/ExportableJob.php @@ -37,7 +37,7 @@ public function prepareToExport(): Eloquent\Collection|Collection { $processDataSource = tap(ProcessDataSource::fillData($this->componentTable), fn($datasource) => $datasource->get()); - $inClause = $processDataSource?->component?->filtered ?? []; + $inClause = $processDataSource->component->filtered ?? []; $this->componentTable->filters = $this->filters ?? [];