File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { Dialog } from '@jbrowse/core/ui'
44import { Tab , Tabs } from '@mui/material'
55
66import InterProScanPanel from './InterProScanDialog.tsx'
7- import TabPanel from './TabPanel.tsx'
87import UserProvidedResultPanel from './UserProvidedDomainsDialog.tsx'
98
109import type { MsaViewModel } from '../../model.ts'
@@ -35,12 +34,12 @@ export default function LaunchDomainViewDialog({
3534 < Tab value = { 0 } label = "Automatic lookup" />
3635 < Tab value = { 1 } label = "Manual" />
3736 </ Tabs >
38- < TabPanel value = { choice } index = { 0 } >
37+ { choice === 0 ? (
3938 < InterProScanPanel model = { model } handleClose = { handleClose } />
40- </ TabPanel >
41- < TabPanel value = { choice } index = { 1 } >
39+ ) : null }
40+ { choice === 1 ? (
4241 < UserProvidedResultPanel model = { model } handleClose = { handleClose } />
43- </ TabPanel >
42+ ) : null }
4443 </ Dialog >
4544 )
4645}
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ const TreeSettingsMenu = observer(function ({
6969 ? [
7070 {
7171 label : 'Advanced' ,
72- type : 'subMenu' ,
72+ type : 'subMenu' as const ,
7373 subMenu : [
7474 {
7575 label : 'Calculate neighbor joining tree (BLOSUM62)' ,
Original file line number Diff line number Diff line change @@ -1388,7 +1388,7 @@ function stateModelFactory() {
13881388 applyGFFText ( gffText : string ) {
13891389 const gffRecords = parseGFF ( gffText )
13901390 const interProResults = gffToInterProResults ( gffRecords )
1391- self . setInterProAnnotations ( interProResults )
1391+ self . interProAnnotations = interProResults
13921392 self . setShowDomains ( true )
13931393 } ,
13941394
You can’t perform that action at this time.
0 commit comments