mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix doughnut graphs on workload overview sometimes not showing (#5727)
This commit is contained in:
1 parent
7767216167
commit
4b1c9fb5fd
36 files changed
+868
-184
No files matched your search
@@ -125,7 +125,7 @@ export interface ApplicationBuilder {
|
||||
helmCharts: {
|
||||
navigate: NavigateToHelmCharts;
|
||||
};
|
||||
|
||||
navigateWith: (token: Injectable<() => void, any, void>) => void;
|
||||
select: {
|
||||
openMenu: (id: string) => { selectOption: (labelText: string) => void };
|
||||
selectOption: (menuId: string, labelText: string) => void;
|
||||
@@ -441,6 +441,13 @@ export const getApplicationBuilder = () => {
|
||||
},
|
||||
},
|
||||
|
||||
navigateWith: (token) => {
|
||||
const windowDi = builder.applicationWindow.only.di;
|
||||
const navigate = windowDi.inject(token);
|
||||
|
||||
navigate();
|
||||
},
|
||||
|
||||
setEnvironmentToClusterFrame: () => {
|
||||
environment = environments.clusterFrame;
|
||||
|
||||
|
||||
Reference in new issue
Block a user