1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 20:35:25 +02:00

fix(wizard): return back to envs page EE-3419 (#7065)

This commit is contained in:
Ali 2022-06-13 14:59:41 +12:00 committed by GitHub
parent 892fdbf60d
commit 66799a53f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -118,8 +118,8 @@ export function EnvironmentCreationView() {
])
),
});
if (localStorage.getItem('wizardRefferer') === 'environments') {
localStorage.removeItem('wizardRefferer');
if (localStorage.getItem('wizardReferrer') === 'environments') {
localStorage.removeItem('wizardReferrer');
router.stateService.go('portainer.endpoints');
return;
}