Skip to content

Commit

Permalink
shorten
Browse files Browse the repository at this point in the history
  • Loading branch information
qu-y committed Nov 4, 2024
1 parent 5f90c2a commit 459f63b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/PigeanTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,7 @@ export default Vue.component("pigean-table", {
}
},
phewasKey(item) {
let keyString = `${item.phenotype},${this.sigma},${this.genesetSize},${item.factor}`;
return keyString;
return `${item.phenotype},${this.sigma},${this.genesetSize},${item.factor}`;
},
subtableKey(item) {
if (this.config.queryParam === "cluster") {
Expand Down Expand Up @@ -346,7 +345,6 @@ export default Vue.component("pigean-table", {
v-if="
row.item.phewasActive &&
phewasData[phewasKey(row.item)]?.length > 0
"
style="width: 100%"
:canvas-id="`pigean_${row.item.phenotype}_${generateId(
Expand Down

0 comments on commit 459f63b

Please sign in to comment.