Skip to content

Commit

Permalink
Merge 5f60ded into 66fa7c5
Browse files Browse the repository at this point in the history
  • Loading branch information
talvbansal committed Jul 11, 2020
2 parents 66fa7c5 + 5f60ded commit 885db69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Repositories/Behaviors/HandleBlocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function getFormFieldsHandleBlocks($object, $fields)

if ($object->has('blocks')) {

$blocksList = app(BlockCollection::class)->getBlockList()->keyBy('name');
$blocksList = app(BlockCollection::class)->list()->keyBy('name');

foreach ($object->blocks as $block) {

Expand Down

0 comments on commit 885db69

Please sign in to comment.