[~] Refactor

This commit is contained in:
Siarhei Siniak 2024-08-11 23:22:43 +03:00
parent 12c55aa0e8
commit 1411dc60e5

@ -23,6 +23,9 @@
class Linkedin {
constructor() {
this.data = new Map();
this.ui = {
root: null,
};
}
async data_load() {
@ -131,6 +134,8 @@ class Linkedin {
}
display() {
let self = this;
let sorted_entires = Array.from(self.data.entries()).sort((a, b) => a[1].ts - b[1].ts);
self.ui.root.empty();