From d1b220668f4c70a2d96d1941edba399a3e9b6fbc Mon Sep 17 00:00:00 2001
From: "Hartung, Michael" <michael.hartung@uni-hamburg.de>
Date: Thu, 13 Apr 2023 13:59:19 +0200
Subject: [PATCH] rename download csv function

---
 .../components/analysis-panel/analysis-panel.component.html   | 4 ++--
 src/app/components/analysis-panel/analysis-panel.component.ts | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/app/components/analysis-panel/analysis-panel.component.html b/src/app/components/analysis-panel/analysis-panel.component.html
index f882f3e6..b0a86c81 100644
--- a/src/app/components/analysis-panel/analysis-panel.component.html
+++ b/src/app/components/analysis-panel/analysis-panel.component.html
@@ -405,7 +405,7 @@
             <div class="column">
               <div class="field has-addons is-pulled-right m-1">
                 <button
-                  (click)="downloadNodes('drug')"
+                  (click)="downloadNodesAsCSV('drug')"
                   class="button is-primary control is-outlined is-rounded is-pulled-right is-small"
                 >
                   <app-fa-solid-icon
@@ -490,7 +490,7 @@
             <div class="column">
               <div class="field has-addons is-pulled-right m-1 control">
                 <button
-                  (click)="downloadNodes('protein')"
+                  (click)="downloadNodesAsCSV('protein')"
                   class="button is-primary is-rounded is-outlined is-pulled-right is-small"
                 >
                   <app-fa-solid-icon
diff --git a/src/app/components/analysis-panel/analysis-panel.component.ts b/src/app/components/analysis-panel/analysis-panel.component.ts
index f8416354..6ae0dec8 100644
--- a/src/app/components/analysis-panel/analysis-panel.component.ts
+++ b/src/app/components/analysis-panel/analysis-panel.component.ts
@@ -689,7 +689,7 @@ export class AnalysisPanelComponent implements OnInit, OnChanges, AfterViewInit
     }
   }
 
-  public downloadNodes(view: string) {
+  public downloadNodesAsCSV(view: string) {
     let data = [];
     const nodes = this.nodeData.nodes.get();
     nodes.forEach((node) => {
-- 
GitLab