Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
hide the gather button while a cell is executing
  • Loading branch information
DavidKutu committed Jul 15, 2020
commit 29adcdc60707f3c2c05759a63e78ffd382502698
1 change: 1 addition & 0 deletions src/datascience-ui/history-react/interactiveCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ export class InteractiveCell extends React.Component<IInteractiveCellProps> {
onClick={gatherCode}
hidden={
this.props.cellVM.cell.state === CellState.error ||
this.props.cellVM.cell.state === CellState.executing ||
this.props.cellVM.cell.data.cell_type === 'markdown' ||
!this.props.settings.gatherIsInstalled
}
Expand Down
1 change: 1 addition & 0 deletions src/datascience-ui/native-editor/nativeCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,7 @@ export class NativeCell extends React.Component<INativeCellProps> {
this.props.cellVM.cell.data.execution_count === null ||
this.props.cellVM.hasBeenRun === null ||
this.props.cellVM.hasBeenRun === false ||
this.props.cellVM.cell.state === CellState.executing ||
this.isError() ||
this.isMarkdownCell() ||
!this.props.gatherIsInstalled;
Expand Down