Update metrics selector via State

This commit is contained in:
Joscha 2023-10-22 01:49:37 +02:00
parent 9bc96f79af
commit 3dc54738fa
3 changed files with 47 additions and 11 deletions

View file

@ -57,7 +57,7 @@ class Folder {
}
}
export function update(div: HTMLElement, metrics: string[]) {
export function updateMetricsDiv(div: HTMLElement, metrics: string[]) {
let folder = new Folder();
for (let metric of metrics) {
folder.add(metric);