Skip to content

Commit 1b0f001

Browse files
emmanuelbaaMutugiiidogi
authored
manager: smoother members navigation (fixes #9198) (#9222)
Co-authored-by: mutugiii <[email protected]> Co-authored-by: dogi <[email protected]>
1 parent 32be7df commit 1b0f001

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "planet",
33
"license": "AGPL-3.0",
4-
"version": "0.20.51",
4+
"version": "0.20.52",
55
"myplanet": {
66
"latest": "v0.34.90",
77
"min": "v0.33.90"

src/app/users/users.component.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,7 @@ export class UsersComponent implements OnInit, OnDestroy {
150150
}
151151

152152
back() {
153-
// relative path for /users and /team/users based on depth
154-
const userUrl = this.router.url.split('/');
155-
const path = userUrl[1] === 'users' ? '../' : '../../';
156-
this.router.navigate([ path ], { relativeTo: this.route });
153+
this.router.navigate([ '../' ], { relativeTo: this.route });
157154
}
158155

159156
updateSelectedRoles(newSelection: string[]) {

0 commit comments

Comments
 (0)