Skip to content

Commit ff0c421

Browse files
authored
Merge pull request #64 from awcodes/fix/fallback-create-another
Fix: fallback for create another
2 parents d5c7ddc + 5da6a27 commit ff0c421

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Components/QuickCreateMenu.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ public function getActions(): array
8282
$canCreateAnother = QuickCreatePlugin::get()->canCreateAnother();
8383

8484
if ($canCreateAnother === null) {
85+
$canCreateAnother = true;
86+
8587
if ($r->hasPage('create')) {
8688
$canCreateAnother = App::make($r->getPages()['create']->getPage())::canCreateAnother();
8789
} else {

0 commit comments

Comments
 (0)