diff --git a/frontend/src/components/enrichment/PathwayList.vue b/frontend/src/components/enrichment/PathwayList.vue index 93052fa5..42a8053d 100644 --- a/frontend/src/components/enrichment/PathwayList.vue +++ b/frontend/src/components/enrichment/PathwayList.vue @@ -86,6 +86,11 @@ export default { selectedIndex: -1 } }, + mounted(){ + this.emitter.on("bookmarkPathway", (value) => { + this.add_enrichment(value) + }); + }, watch:{ terms() { this.filter_options(this.terms) diff --git a/frontend/src/components/enrichment/PathwayMenu.vue b/frontend/src/components/enrichment/PathwayMenu.vue index 88696dbd..056024a4 100644 --- a/frontend/src/components/enrichment/PathwayMenu.vue +++ b/frontend/src/components/enrichment/PathwayMenu.vue @@ -51,6 +51,14 @@ export default { filtered_terms: [] } }, + watch:{ + favourite_pathways: { + handler(newList){ + this.$store.commit('assign_favourite_enrichment', newList) + }, + deep: true + }, + }, mounted() { var com = this com.generatePathways(com.gephi_data.nodes[0].species, com.gephi_data.nodes.map(node => node.attributes["Name"])) diff --git a/frontend/src/components/pane/modules/layer/EnrichmentLayerPane.vue b/frontend/src/components/pane/modules/layer/EnrichmentLayerPane.vue index 01085132..3b0d21bf 100644 --- a/frontend/src/components/pane/modules/layer/EnrichmentLayerPane.vue +++ b/frontend/src/components/pane/modules/layer/EnrichmentLayerPane.vue @@ -16,7 +16,8 @@
- contained proteins + contained nodes +
{ + this.copyclipboard() + }); } } diff --git a/frontend/src/components/pane/modules/node/NodePane.vue b/frontend/src/components/pane/modules/node/NodePane.vue index 46a07cbc..5ffdc641 100644 --- a/frontend/src/components/pane/modules/node/NodePane.vue +++ b/frontend/src/components/pane/modules/node/NodePane.vue @@ -143,6 +143,7 @@ export default { transform: translate(50%); font-family: 'ABeeZee', sans-serif; font-size: 0.9vw; + padding: 1%; } .nodeattributes{ position: absolute; diff --git a/frontend/src/components/pane/modules/pathways/TermPane.vue b/frontend/src/components/pane/modules/pathways/TermPane.vue index 94d0158d..93f0e795 100644 --- a/frontend/src/components/pane/modules/pathways/TermPane.vue +++ b/frontend/src/components/pane/modules/pathways/TermPane.vue @@ -1,6 +1,11 @@