Skip to content

Commit

Permalink
#22 Fix bug with event handling
Browse files Browse the repository at this point in the history
  • Loading branch information
tonydisera committed Dec 11, 2024
1 parent e17b07e commit f33969f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
13 changes: 4 additions & 9 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -217,18 +217,13 @@ export default {
this.spliceJunctionsForGene = null;
},
onGeneSelected: function(gene) {
this.onGeneSearched({'gene_name': geneName})
if (this.$refs && this.$refs.ref_Navigation) {
this.$refs.ref_Navigation.setGeneSearchField(geneName)
}
},
onGeneAutoSelected: function(gene) {
this.searchedGene = gene;
this.selectedObject = null;
this.spliceJunctionsForGene = null;
this.selectedGene = gene;
this.addAlert("info", "gene <pre>" + gene.gene_name + "</pre> loaded", gene.gene_name)
this.showLeftNavDrawer = true;
},
onGeneAutoSelected: function(gene) {
this.onGeneClicked(gene.gene_name)
},
onShowLegend: function(show) {
this.showLegendDrawer = show;
},
Expand Down
4 changes: 2 additions & 2 deletions src/components/MultiGeneInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ export default {
//self: this,
menu: null,
HARD_MAX_GENE_COUNT: 5,
SOFT_MAX_GENE_COUNT: 3,
HARD_MAX_GENE_COUNT: 200,
SOFT_MAX_GENE_COUNT: 50,
STARTING_INPUT: 'Enter gene names (<50 recommended)',
genesToApply: null,
Expand Down

0 comments on commit f33969f

Please sign in to comment.