Skip to content

Commit

Permalink
Merge pull request #3818 from ahaeslich/bugfix/4255-workspace-ui-routing
Browse files Browse the repository at this point in the history
BUGFIX: Adjust route to workspace module
  • Loading branch information
grebaldi authored Jun 28, 2024
2 parents 56ec023 + a74d2cd commit 171ce95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Classes/Infrastructure/MVC/RoutesProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,12 @@ public function getRoutes(UriBuilder $uriBuilder): array
];

$routes['core']['modules'] = [
'workspaces' =>
'workspace' =>
$helper->buildCoreRoute(
controllerName: 'Backend\\Module',
actionName: 'index',
arguments: [
'module' => 'management/workspaces'
'module' => 'management/workspace'
]
),
'userSettings' =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default class PublishDropDown extends PureComponent {
neos
} = this.props;

const workspaceModuleUri = neos?.routes?.core?.modules?.workspaces;
const workspaceModuleUri = neos?.routes?.core?.modules?.workspace;
const allowedWorkspaces = neos?.configuration?.allowedTargetWorkspaces;
const baseWorkspaceTitle = allowedWorkspaces?.[baseWorkspace]?.title;
const canPublishLocally = !isSaving && !isPublishing && !isDiscarding && publishableNodesInDocument && (publishableNodesInDocument.length > 0);
Expand Down

0 comments on commit 171ce95

Please sign in to comment.