Skip to content

Commit

Permalink
Merge branch 'development' of github.com:usc-isi-i2/t2wml into develo…
Browse files Browse the repository at this point in the history
…pment
  • Loading branch information
devowit committed May 11, 2021
2 parents dffa9e3 + 449b40b commit 92d586e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions electron/src/renderer/project/table/table-container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ class TableContainer extends Component<{}, TableState> {
className={classNames('btn-sm py-0 px-2', {
'active': mode === 'annotation',
})}
disabled={currentFilesService.currentState.mappingType === 'Yaml'}
disabled={currentFilesService.currentState.mappingType === 'Yaml' || wikiStore.table.showSpinner}
onClick={() => this.switchMode('annotation')}>
Annotate
</Button>
Expand All @@ -361,14 +361,15 @@ class TableContainer extends Component<{}, TableState> {
className={classNames('btn-sm py-0 px-2', {
'active': mode === 'wikify',
})}
disabled={wikiStore.table.showSpinner}
onClick={() => this.switchMode('wikify')}>
Wikify
</Button>
<Button variant="outline-light"
className={classNames('btn-sm py-0 px-2', {
'active': mode === 'output',
})}

disabled={wikiStore.table.showSpinner}
onClick={() => this.switchMode('output')}>
Output
</Button>
Expand Down

0 comments on commit 92d586e

Please sign in to comment.