Skip to content

Commit 3b2a6c8

Browse files
committed
Bugfix to ExtendedVariantWidget when there are no alternate alleles
1 parent bbe9ad5 commit 3b2a6c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jbrowse/src/client/JBrowse/Browser/plugins/ExtendedVariantPlugin/ExtendedVariantWidget/ExtendedVariantWidget.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export default jbrowse => {
182182
}
183183

184184
const ref = feat["REF"];
185-
const alt = feat["ALT"]
185+
const alt = feat["ALT"] || []
186186

187187
const [state, setState] = useState(null)
188188
useEffect(() => {

0 commit comments

Comments
 (0)