diff --git a/frontend/src/components/enrichment/HeatmapTool.vue b/frontend/src/components/enrichment/HeatmapTool.vue index d529807..6b4c611 100644 --- a/frontend/src/components/enrichment/HeatmapTool.vue +++ b/frontend/src/components/enrichment/HeatmapTool.vue @@ -41,7 +41,7 @@ export default { }, methods: { get_heatmap() { - if (this.favourite_pathways.length == 0) { + if (!this.favourite_pathways || this.favourite_pathways?.length == 0) { this.toast.add({ severity: 'error', detail: 'Please favorize pathways before generating heatmap.', life: 4000 }); return; } diff --git a/frontend/src/components/verticalpane/TabPanelOption.vue b/frontend/src/components/verticalpane/TabPanelOption.vue deleted file mode 100644 index 8b85668..0000000 --- a/frontend/src/components/verticalpane/TabPanelOption.vue +++ /dev/null @@ -1,108 +0,0 @@ - - - diff --git a/frontend/src/layout/VerticalPane.vue b/frontend/src/layout/VerticalPane.vue index 97ef86e..ff5c8fa 100644 --- a/frontend/src/layout/VerticalPane.vue +++ b/frontend/src/layout/VerticalPane.vue @@ -7,26 +7,51 @@ - - - - -
--> + + + {{ element.name }} + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -34,26 +59,47 @@ }`"> - - - - -
--> + + + {{ element.name }} + + + + + - + + + + + + + + + + + + + + + + + + + + + + + @@ -61,8 +107,7 @@