Skip to content

Commit c8f352a

Browse files
committed
[grid-ui] Fixing overall concurrency panel visibility and properties
1 parent 9ac878b commit c8f352a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

javascript/grid-ui/src/App.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ class App extends React.Component<AppProps, AppState> {
121121
const { classes } = this.props
122122
const { error, data, drawerOpen } = this.state
123123

124-
const maxSession = error !== null ? 0 : data?.grid?.maxSession ?? 0
125-
const sessionCount = error !== null ? 0 : data?.grid?.sessionCount ?? 0
126-
const nodeCount = error !== null ? 0 : data?.grid?.nodeCount ?? 0
124+
const maxSession = error !== undefined ? 0 : data?.grid?.maxSession ?? 0
125+
const sessionCount = error !== undefined ? 0 : data?.grid?.sessionCount ?? 0
126+
const nodeCount = error !== undefined ? 0 : data?.grid?.nodeCount ?? 0
127127

128128
const topBarSubheader = error ?? data?.grid?.version
129129

0 commit comments

Comments
 (0)