mirror of
https://github.com/zaphar/Heracles.git
synced 2025-07-23 04:29:48 -04:00
ux: start out with all the labels selected
This commit is contained in:
parent
a010112f39
commit
20c8eadbd1
@ -181,6 +181,7 @@ class TimeseriesGraph extends HTMLElement {
|
||||
for (var opt of this.#filterLabels[key]) {
|
||||
const optElement = document.createElement("option");
|
||||
optElement.setAttribute("value", opt);
|
||||
optElement.setAttribute("selected", true);
|
||||
optElement.innerText = opt;
|
||||
select.appendChild(optElement);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user