mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix clusters not being defined (#3392)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
f9635504f9
commit
873a165a60
@ -45,7 +45,7 @@ export default {
|
||||
workspaces.set(id, name);
|
||||
}
|
||||
|
||||
const clusters: ClusterModel[] = store.get("clusters");
|
||||
const clusters: ClusterModel[] = store.get("clusters") ?? [];
|
||||
|
||||
for (const cluster of clusters) {
|
||||
if (cluster.workspace && workspaces.has(cluster.workspace)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user