From fc152b9ae4d4029306a13fe54372e01ecb43cbda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jarda=20Kot=C4=9B=C5=A1ovec?= Date: Wed, 23 Oct 2024 13:00:49 +0200 Subject: [PATCH] pkp/pkp-lib#7495 Expose componentForms from dashboardStore --- pages/dashboard/PKPDashboardHandlerNext.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/dashboard/PKPDashboardHandlerNext.php b/pages/dashboard/PKPDashboardHandlerNext.php index 9d6b3552047..94d69703315 100644 --- a/pages/dashboard/PKPDashboardHandlerNext.php +++ b/pages/dashboard/PKPDashboardHandlerNext.php @@ -158,12 +158,14 @@ public function index($args, $request) 'dashboardPage' => $this->dashboardPage, 'countPerPage' => $this->perPage, 'filtersForm' => $filtersForm->getConfig(), - 'contributorForm' => $contributorForm->getConfig(), 'views' => $this->getViews(), 'columns' => $this->getColumns(), 'publicationSettings' => [ 'supportsCitations' => !!$context->getData('citations'), 'identifiersEnabled' => $identifiersEnabled, + ], + 'componentForms' => [ + 'contributorForm' => $contributorForm->getConfig(), ] ] ]);