From 5da6a273074aa195581ea9f942295ef5e54b1c66 Mon Sep 17 00:00:00 2001 From: Adam Weston Date: Thu, 7 Nov 2024 10:45:38 -0500 Subject: [PATCH] Fix: fallback for create another --- src/Components/QuickCreateMenu.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Components/QuickCreateMenu.php b/src/Components/QuickCreateMenu.php index 4b952ef..95204d4 100644 --- a/src/Components/QuickCreateMenu.php +++ b/src/Components/QuickCreateMenu.php @@ -82,6 +82,8 @@ public function getActions(): array $canCreateAnother = QuickCreatePlugin::get()->canCreateAnother(); if ($canCreateAnother === null) { + $canCreateAnother = true; + if ($r->hasPage('create')) { $canCreateAnother = App::make($r->getPages()['create']->getPage())::canCreateAnother(); } else {