fix: browser cluster selection
This commit is contained in:
parent
916b0b22a2
commit
4eb533d0e3
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ function BrowserSidebar() {
|
|||
const cluster = clusters[index as number];
|
||||
context.setCluster(cluster);
|
||||
}}
|
||||
selectedKey={context.cluster?.id.toString()}
|
||||
selectedKey={context.cluster ? clusters?.indexOf(context.cluster) : undefined}
|
||||
>
|
||||
{clusters?.map((cluster, index) => (
|
||||
<Dropdown.Item id={index} key={cluster.id}>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue