import AbstractAuthentifiedView from "./AbstractAuthentifiedView.js"; import {client} from "../index.js"; export default class extends AbstractAuthentifiedView { constructor(params) { super(params, "Search"); } async postInit() { let profiles = await client.profiles.all(); console.log(profiles); let users = ["cramptéMan", "cacaMan", "chatteWomen"] let list_users = document.getElementById('list_users'); for (const user of users) { var new_user = document.createElement("li"); new_user.appendChild(document.createTextNode(user)); list_users.appendChild(new_user); } console.log(list_users); } async leavePage() { } async getHtml() { return `

Search

`; } }