Skip to content

Commit

Permalink
pkp/pkp-lib#7495 PHP formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jardakotesovec committed Oct 17, 2024
1 parent ec800dc commit c281e0b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions classes/components/forms/dashboard/SubmissionFilters.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@

namespace APP\components\forms\dashboard;

use APP\components\forms\FieldSelectIssues;
use APP\core\Application;
use Illuminate\Support\LazyCollection;
use PKP\components\forms\dashboard\PKPSubmissionFilters;
use PKP\context\Context;
use APP\components\forms\FieldSelectIssues;
use APP\core\Application;

class SubmissionFilters extends PKPSubmissionFilters
{
Expand Down
4 changes: 3 additions & 1 deletion cypress/tests/data/60-content/AmwandengaSubmission.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,9 @@ describe('Data suite: Amwandenga', function() {
cy.get('button').contains('Create New Version').click();
cy.contains('Are you sure you want to create a new version?');
cy.get('div[role=dialog]:contains("Create New Version")').get('button').contains('Yes').click();
cy.wait(3000);

// Once there is 'in progress' overlay when creating new version this can be improved
cy.wait(10000);

// Toggle between versions
cy.get('button').contains('All Versions').click();
Expand Down
6 changes: 3 additions & 3 deletions pages/dashboard/DashboardHandlerNext.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
namespace APP\pages\dashboard;

use APP\components\forms\dashboard\SubmissionFilters;
use APP\core\Application;
use APP\core\Request;
use APP\facades\Repo;
use APP\template\TemplateManager;
use PKP\pages\dashboard\PKPDashboardHandlerNext;
use APP\core\Application;

class_exists(\APP\components\forms\publication\AssignToIssueForm::class); // Force define of FORM_ASSIGN_TO_ISSUE

Expand All @@ -43,8 +43,8 @@ public function setupIndex($request)
$paymentManager = Application::get()->getPaymentManager($context);

$pageInitConfig = $templateMgr->getState('pageInitConfig');
$pageInitConfig['publicationSettings']['submissionPaymentsEnabled'] = $paymentManager->publicationEnabled();
$templateMgr->setState(["pageInitConfig" => $pageInitConfig]);
$pageInitConfig['publicationSettings']['submissionPaymentsEnabled'] = $paymentManager->publicationEnabled();
$templateMgr->setState(['pageInitConfig' => $pageInitConfig]);

$templateMgr->setConstants([
'FORM_ASSIGN_TO_ISSUE' => FORM_ASSIGN_TO_ISSUE
Expand Down

0 comments on commit c281e0b

Please sign in to comment.