Skip to content

Commit 92d586e

Browse files
committed
Merge branch 'development' of github.com:usc-isi-i2/t2wml into development
2 parents dffa9e3 + 449b40b commit 92d586e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

electron/src/renderer/project/table/table-container.tsx

+3-2
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ class TableContainer extends Component<{}, TableState> {
352352
className={classNames('btn-sm py-0 px-2', {
353353
'active': mode === 'annotation',
354354
})}
355-
disabled={currentFilesService.currentState.mappingType === 'Yaml'}
355+
disabled={currentFilesService.currentState.mappingType === 'Yaml' || wikiStore.table.showSpinner}
356356
onClick={() => this.switchMode('annotation')}>
357357
Annotate
358358
</Button>
@@ -361,14 +361,15 @@ class TableContainer extends Component<{}, TableState> {
361361
className={classNames('btn-sm py-0 px-2', {
362362
'active': mode === 'wikify',
363363
})}
364+
disabled={wikiStore.table.showSpinner}
364365
onClick={() => this.switchMode('wikify')}>
365366
Wikify
366367
</Button>
367368
<Button variant="outline-light"
368369
className={classNames('btn-sm py-0 px-2', {
369370
'active': mode === 'output',
370371
})}
371-
372+
disabled={wikiStore.table.showSpinner}
372373
onClick={() => this.switchMode('output')}>
373374
Output
374375
</Button>

0 commit comments

Comments
 (0)