File tree Expand file tree Collapse file tree 3 files changed +12
-9
lines changed
Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " bravue" ,
3- "version" : " 0.21.0 " ,
3+ "version" : " 0.21.1 " ,
44 "private" : true ,
55 "scripts" : {
66 "serve" : " vue-cli-service serve" ,
Original file line number Diff line number Diff line change @@ -367,16 +367,17 @@ export default {
367367 .catch (error => { console .log (" Error loading SuSiE count:" + error) })
368368 },
369369 },
370+ beforeMount : function () {
371+ // Respect links to specific tab
372+ if (window .location .hash === " #eqtl" ){
373+ this .toggleTab (" eqtl" )
374+ }
375+ },
370376 mounted : function () {
371377 this .loadGene ()
372378
373379 this .childWidth = this .$el .clientWidth
374380 window .addEventListener (' resize' , this .handleResize )
375-
376- // Respect links to specific tab
377- if (window .location .hash === " #eqtl" ){
378- this .toggleTab (" eqtl" )
379- }
380381 },
381382 beforeUnmount : function () {
382383 window .removeEventListener (' resize' , this .handleResize )
Original file line number Diff line number Diff line change @@ -323,12 +323,14 @@ export default {
323323 this .hoveredVarPosition = data .pos
324324 },
325325 },
326- mounted : function () {
327- this .load_eqtl_count ()
328-
326+ beforeMount : function () {
327+ console .log (" before mount" )
329328 // Respect links to specific tab
330329 if (window .location .hash === " #eqtl" ){ this .toggleTab (" eqtl" ) }
331330 },
331+ mounted : function () {
332+ this .load_eqtl_count ()
333+ },
332334 beforeUnmount : function () {
333335 window .removeEventListener (' resize' , this .handleResize )
334336 }
You can’t perform that action at this time.
0 commit comments