Skip to content

Commit 06e6131

Browse files
committed
Allow fallback to legacy database URL param for jbrowse
1 parent 81d29b9 commit 06e6131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jbrowse/src/client/JBrowse/Browser/Browser.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function applyUrlParams(json, queryParam) {
7373

7474
function View(){
7575
const queryParam = new URLSearchParams(window.location.search);
76-
const session = queryParam.get('session')
76+
const session = queryParam.get('session') || queryParam.get('database')
7777

7878
const [state, setState] = useState(null);
7979
const [bgColor, setBgColor] = useState(null)

0 commit comments

Comments
 (0)