aboutsummaryrefslogtreecommitdiff
path: root/static/components/changelog.ts
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-06-16 19:08:59 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-06-16 19:08:59 +0200
commit6f23cf88f362122cee735f8df314dc4caae87947 (patch)
treedd91dc7b296f9cf079a747bf5ddb33e38064eb4d /static/components/changelog.ts
parentAdd TODO about CSS foreground color. (diff)
downloadcalp-6f23cf88f362122cee735f8df314dc4caae87947.tar.gz
calp-6f23cf88f362122cee735f8df314dc4caae87947.tar.xz
Change to proper javascript privates.
Diffstat (limited to 'static/components/changelog.ts')
-rw-r--r--static/components/changelog.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/components/changelog.ts b/static/components/changelog.ts
index 831e4ced..d08f7cb3 100644
--- a/static/components/changelog.ts
+++ b/static/components/changelog.ts
@@ -21,7 +21,7 @@ class VEventChangelog extends ComponentVEvent {
redraw(data: VEvent) {
/* TODO only redraw what is needed */
let children = []
- for (let el of data._changelog) {
+ for (let [_, el] of data.changelog) {
let msg = '';
switch (el.type) {
case 'property':