From 1131c46e9ca102ab226497d7546f27c7a605d8bb Mon Sep 17 00:00:00 2001
From: Alexis POYEN <apoyen@grandlyon.com>
Date: Thu, 22 Apr 2021 12:22:32 +0200
Subject: [PATCH] Fix: typo and names

---
 web/components/bankerPage/bankerPage.js | 4 ++--
 web/components/bankerPage/operations.js | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/web/components/bankerPage/bankerPage.js b/web/components/bankerPage/bankerPage.js
index 691c5dd..a12ff4b 100644
--- a/web/components/bankerPage/bankerPage.js
+++ b/web/components/bankerPage/bankerPage.js
@@ -16,8 +16,7 @@ export async function mount(where) {
 }
 
 class BankerPage {
-  constructor() {
-  }
+  constructor() {}
 
   async mount(where) {
     document.getElementById(where).innerHTML = /* HTML */ `
@@ -58,6 +57,7 @@ class BankerPage {
   }
 
   async displayClients() {
+    let clients = [];
     try {
       const response = await fetch("/api/UserClients/", {
         method: "GET",
diff --git a/web/components/bankerPage/operations.js b/web/components/bankerPage/operations.js
index 566a7dc..e41ab11 100644
--- a/web/components/bankerPage/operations.js
+++ b/web/components/bankerPage/operations.js
@@ -30,7 +30,7 @@ class Operation {
             <tr class="is-selected">
               <th>Id</th>
               <th>Montant</th>
-              <th>Client</th>
+              <th>Compte bancaire</th>
               <th>Date</th>
               ${current_user.role != "CLIENT" ? `<th>Actions</th>` : ``}
             </tr>
-- 
GitLab