Skip to content
Snippets Groups Projects
Commit 1131c46e authored by Alexis POYEN's avatar Alexis POYEN
Browse files

Fix: typo and names

parent 589a62ee
No related branches found
No related tags found
No related merge requests found
Pipeline #13570 failed
...@@ -16,8 +16,7 @@ export async function mount(where) { ...@@ -16,8 +16,7 @@ export async function mount(where) {
} }
class BankerPage { class BankerPage {
constructor() { constructor() {}
}
async mount(where) { async mount(where) {
document.getElementById(where).innerHTML = /* HTML */ ` document.getElementById(where).innerHTML = /* HTML */ `
...@@ -58,6 +57,7 @@ class BankerPage { ...@@ -58,6 +57,7 @@ class BankerPage {
} }
async displayClients() { async displayClients() {
let clients = [];
try { try {
const response = await fetch("/api/UserClients/", { const response = await fetch("/api/UserClients/", {
method: "GET", method: "GET",
......
...@@ -30,7 +30,7 @@ class Operation { ...@@ -30,7 +30,7 @@ class Operation {
<tr class="is-selected"> <tr class="is-selected">
<th>Id</th> <th>Id</th>
<th>Montant</th> <th>Montant</th>
<th>Client</th> <th>Compte bancaire</th>
<th>Date</th> <th>Date</th>
${current_user.role != "CLIENT" ? `<th>Actions</th>` : ``} ${current_user.role != "CLIENT" ? `<th>Actions</th>` : ``}
</tr> </tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment