mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 05:45:22 +02:00
feat(wizard): replace-the-add-envs-button-with-env-wizard-button EE-3001 (#7013)
* feat(envs): on env click, direct user to wizard
This commit is contained in:
parent
0522032515
commit
eb4ff12744
6 changed files with 14 additions and 17 deletions
|
@ -118,6 +118,11 @@ export function EnvironmentCreationView() {
|
|||
])
|
||||
),
|
||||
});
|
||||
if (localStorage.getItem('wizardRefferer') === 'environments') {
|
||||
localStorage.removeItem('wizardRefferer');
|
||||
router.stateService.go('portainer.endpoints');
|
||||
return;
|
||||
}
|
||||
router.stateService.go('portainer.home');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue