From d4d6366510f80a19fa0757240ae7fabe7793df18 Mon Sep 17 00:00:00 2001
From: Xiao Gui <xgui3783@gmail.com>
Date: Tue, 27 Jul 2021 13:26:24 +0200
Subject: [PATCH] chore: lint

---
 .../bsFeatures/ieeg/ieegCmp/ieeg.component.ts          | 10 +++++-----
 .../regionalFeatureWrapper.component.ts                |  8 ++++----
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/atlasComponents/regionalFeatures/bsFeatures/ieeg/ieegCmp/ieeg.component.ts b/src/atlasComponents/regionalFeatures/bsFeatures/ieeg/ieegCmp/ieeg.component.ts
index c4690d275..7eca7ea1d 100644
--- a/src/atlasComponents/regionalFeatures/bsFeatures/ieeg/ieegCmp/ieeg.component.ts
+++ b/src/atlasComponents/regionalFeatures/bsFeatures/ieeg/ieegCmp/ieeg.component.ts
@@ -112,12 +112,12 @@ export class BsFeatureIEEGCmp extends BsRegionInputBase implements OnDestroy{
       for (const key in detail.__electrodes){
         const electorde = detail.__electrodes[key]
         if (!electorde.inRoi) continue
-        for (const cp_key in electorde.__contact_points) {
-          const cp = electorde.__contact_points[cp_key]
+        for (const cpKey in electorde.__contact_points) {
+          const cp = electorde.__contact_points[cpKey]
           lms.push({
-            "@id": `${detail.name}:${key}#${cp_key}`,
-            id: `${detail.name}:${key}#${cp_key}`,
-            name: `${detail.name}:${key}#${cp_key}`,
+            "@id": `${detail.name}:${key}#${cpKey}`,
+            id: `${detail.name}:${key}#${cpKey}`,
+            name: `${detail.name}:${key}#${cpKey}`,
             position: cp.coord,
             color: cp.inRoi ? [255, 100, 100]: [255,255,255],
             showInSliceView: this.openElectrodeIdSet.has(electorde.id)
diff --git a/src/atlasComponents/regionalFeatures/bsFeatures/regionalFeatureWrapper/regionalFeatureWrapper.component.ts b/src/atlasComponents/regionalFeatures/bsFeatures/regionalFeatureWrapper/regionalFeatureWrapper.component.ts
index 672e8aca7..1747606c9 100644
--- a/src/atlasComponents/regionalFeatures/bsFeatures/regionalFeatureWrapper/regionalFeatureWrapper.component.ts
+++ b/src/atlasComponents/regionalFeatures/bsFeatures/regionalFeatureWrapper/regionalFeatureWrapper.component.ts
@@ -164,10 +164,10 @@ export class RegionalFeatureWrapperCmp implements OnChanges, OnDestroy{
       arg['name'] = contextedFeature.result['name']
       arg['description'] = ' '
       arg['isGdprProtected'] = true
-       arg['urls'] = []
-       for (const info of contextedFeature.result['origin_datainfos']) {
-         arg['urls'].push(...(info.urls || []))
-       }
+      arg['urls'] = []
+      for (const info of contextedFeature.result['origin_datainfos']) {
+        arg['urls'].push(...(info.urls || []))
+      }
     }
 
     if (contextedFeature.featureName === EbrainsRegionalFeatureName) {
-- 
GitLab