diff --git a/src/TwillServiceProvider.php b/src/TwillServiceProvider.php index 11a803dea..b813d8647 100644 --- a/src/TwillServiceProvider.php +++ b/src/TwillServiceProvider.php @@ -13,8 +13,8 @@ use A17\Twill\Commands\ModuleMake; use A17\Twill\Commands\ModuleMakeDeprecated; use A17\Twill\Commands\RefreshLQIP; -use A17\Twill\Commands\Update; use A17\Twill\Commands\SyncLang; +use A17\Twill\Commands\Update; use A17\Twill\Http\ViewComposers\ActiveNavigation; use A17\Twill\Http\ViewComposers\CurrentUser; use A17\Twill\Http\ViewComposers\FilesUploaderConfig; @@ -43,7 +43,7 @@ class TwillServiceProvider extends ServiceProvider * * @var string */ - const VERSION = '2.1.0'; + const VERSION = '2.1.1'; /** * Service providers to be registered. diff --git a/views/partials/form/_block_editor.blade.php b/views/partials/form/_block_editor.blade.php index ac726a5f2..5c29e7c36 100644 --- a/views/partials/form/_block_editor.blade.php +++ b/views/partials/form/_block_editor.blade.php @@ -8,7 +8,7 @@ @php - $allowedBlocks = generate_list_of_available_blocks($blocks ?? null, $groups ?? null); + $allowedBlocks = generate_list_of_available_blocks($blocks ?? null, $group ?? $groups ?? null); @endphp @push('vuexStore')