-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8abbd29
commit 371de40
Showing
13 changed files
with
37 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7
packages/circular-view/src/StructuralVariantChordTrack/components/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
export default ({ jbrequire }) => { | ||
const React = jbrequire('react') | ||
const { observer } = jbrequire('mobx-react') | ||
const { observer, PropTypes: MobxPropTypes } = jbrequire('mobx-react') | ||
|
||
const Loading = jbrequire(require('../../ChordTrack/components/Loading')) | ||
const TrackError = jbrequire( | ||
require('../../ChordTrack/components/TrackError'), | ||
) | ||
const RpcRenderedSvgGroup = jbrequire(require('./RpcRenderedSvgGroup')) | ||
|
||
function StructuralVariantChordTrack({ track, view }) { | ||
function StructuralVariantChordTrack({ track }) { | ||
if (track.error) return <TrackError model={track} /> | ||
if (!track.filled) return <Loading model={track} /> | ||
return <RpcRenderedSvgGroup model={track} /> | ||
} | ||
StructuralVariantChordTrack.propTypes = { | ||
track: MobxPropTypes.observableObject.isRequired, | ||
} | ||
return observer(StructuralVariantChordTrack) | ||
} |
3 changes: 1 addition & 2 deletions
3
packages/circular-view/src/StructuralVariantChordTrack/models/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
packages/core/pluggableElementTypes/renderers/ServerSideRendererType.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/linear-genome-view/src/BasicTrack/util/serverSideRenderedBlock.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters