Skip to content

Commit

Permalink
[grid-ui] Fixing overall concurrency panel visibility and properties
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Feb 21, 2021
1 parent 9ac878b commit c8f352a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions javascript/grid-ui/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ class App extends React.Component<AppProps, AppState> {
const { classes } = this.props
const { error, data, drawerOpen } = this.state

const maxSession = error !== null ? 0 : data?.grid?.maxSession ?? 0
const sessionCount = error !== null ? 0 : data?.grid?.sessionCount ?? 0
const nodeCount = error !== null ? 0 : data?.grid?.nodeCount ?? 0
const maxSession = error !== undefined ? 0 : data?.grid?.maxSession ?? 0
const sessionCount = error !== undefined ? 0 : data?.grid?.sessionCount ?? 0
const nodeCount = error !== undefined ? 0 : data?.grid?.nodeCount ?? 0

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

Expand Down

0 comments on commit c8f352a

Please sign in to comment.