Skip to content

Commit

Permalink
IBX-7489: Fix user settings password change Discard button link (#1095)
Browse files Browse the repository at this point in the history
  • Loading branch information
tischsoic authored Jan 5, 2024
1 parent 4fb58b7 commit fd6f3b4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ public function onUserPasswordChangeRightSidebarConfigure(ConfigureMenuEvent $ev
self::ITEM__CANCEL,
[
'extras' => ['translation_domain' => 'ibexa_menu'],
'route' => 'ibexa.dashboard',
'route' => 'ibexa.user_settings.list',
'routeParameters' => [
'_fragment' => 'ibexa-tab-my-account-settings',
],
]
);
}
Expand Down
5 changes: 4 additions & 1 deletion src/lib/Menu/UserPasswordChangeRightSidebarBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ public function createStructure(array $options): ItemInterface
self::ITEM__CANCEL => $this->createMenuItem(
self::ITEM__CANCEL,
[
'route' => 'ibexa.dashboard',
'route' => 'ibexa.user_settings.list',
'routeParameters' => [
'_fragment' => 'ibexa-tab-my-account-settings',
],
]
),
]);
Expand Down

0 comments on commit fd6f3b4

Please sign in to comment.