@@ -27,7 +27,10 @@ import { StubContainer } from '@postgres.ai/shared/components/StubContainer'
2727import { PageSpinner } from '@postgres.ai/shared/components/PageSpinner'
2828import { icons } from '@postgres.ai/shared/styles/icons'
2929import { GatewayLink } from '@postgres.ai/shared/components/GatewayLink'
30- import { ClassesType , RefluxTypes } from '@postgres.ai/platform/src/components/types'
30+ import {
31+ ClassesType ,
32+ RefluxTypes ,
33+ } from '@postgres.ai/platform/src/components/types'
3134
3235import Actions from '../../actions/actions'
3336import { ConsoleBreadcrumbsWrapper } from 'components/ConsoleBreadcrumbs/ConsoleBreadcrumbsWrapper'
@@ -113,7 +116,7 @@ class JoeInstances extends Component<
113116 Actions . setJoeInstancesProject ( orgId , 0 )
114117 }
115118
116- this . unsubscribe = ( Store . listen as RefluxTypes [ " listen" ] ) ( function ( ) {
119+ this . unsubscribe = ( Store . listen as RefluxTypes [ ' listen' ] ) ( function ( ) {
117120 const auth = this . data && this . data . auth ? this . data . auth : null
118121 const joeInstances =
119122 this . data && this . data . joeInstances ? this . data . joeInstances : null
@@ -200,7 +203,7 @@ class JoeInstances extends Component<
200203 this . state . data && this . state . data . auth ? this . state . data . auth : null
201204
202205 if ( anchorEl ) {
203- let instanceId = anchorEl . getAttribute ( 'instanceid ' )
206+ let instanceId = anchorEl . getAttribute ( 'aria-rowindex ' )
204207 if ( ! instanceId ) {
205208 return
206209 }
@@ -358,8 +361,8 @@ class JoeInstances extends Component<
358361 >
359362 < p >
360363 Joe Bot is a virtual DBA for SQL Optimization. Joe helps engineers
361- quickly troubleshoot and optimize SQL. Joe runs on top of the
362- DBLab Engine. (
364+ quickly troubleshoot and optimize SQL. Joe runs on top of the DBLab
365+ Engine. (
363366 < GatewayLink
364367 href = "https://postgres.ai/docs/joe-bot"
365368 target = "_blank"
@@ -422,6 +425,7 @@ class JoeInstances extends Component<
422425 aria-label = "more"
423426 aria-controls = "instance-menu"
424427 aria-haspopup = "true"
428+ aria-rowindex = { data . data [ i ] . id }
425429 onClick = { this . openMenu }
426430 >
427431 < MoreVertIcon />
0 commit comments