Fix: Return emoty blocks
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
dbffb4b394
commit
ae39c8dd31
|
@ -16,6 +16,6 @@ abstract class ConditionResolver
|
|||
*/
|
||||
public function make(array $content): array
|
||||
{
|
||||
return array_filter($content['blocks'], fn ($block) => $this->filterBlock($block));
|
||||
return array_filter(data_get($content, 'blocks', []), fn ($block) => $this->filterBlock($block));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue