mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Enable custom protocol handle to process routing in catalog
Signed-off-by: Alex Culliere <alozhkin@mirantis.com>
This commit is contained in:
parent
2c216f3d8e
commit
493302a70c
@ -43,6 +43,13 @@ export function bindProtocolAddRouteHandlers() {
|
||||
.addInternalHandler("/landing", () => {
|
||||
navigate(catalogURL());
|
||||
})
|
||||
.addInternalHandler("/landing/view/:group/:kind", ({ pathname: { group, kind } }) => {
|
||||
navigate(catalogURL({
|
||||
params: {
|
||||
group, kind
|
||||
}
|
||||
}));
|
||||
})
|
||||
.addInternalHandler("/cluster", () => {
|
||||
navigate(addClusterURL());
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user