aboutsummaryrefslogtreecommitdiff
path: root/static/components
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-12-12 20:36:43 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-12-12 20:36:43 +0100
commit2e4b349b723531a3a2a42db11527ee3fc90b4b59 (patch)
tree65454ad9329bd3f22b152dca0fb755296cecc003 /static/components
parentFix recurring events not being rendered in side list (diff)
downloadcalp-2e4b349b723531a3a2a42db11527ee3fc90b4b59.tar.gz
calp-2e4b349b723531a3a2a42db11527ee3fc90b4b59.tar.xz
Correctly show recur indicator.
Diffstat (limited to 'static/components')
-rw-r--r--static/components/vevent-description.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/static/components/vevent-description.ts b/static/components/vevent-description.ts
index 09c836b0..98c9007e 100644
--- a/static/components/vevent-description.ts
+++ b/static/components/vevent-description.ts
@@ -39,6 +39,13 @@ class ComponentDescription extends ComponentVEvent {
}
}
+ let repeating = body.getElementsByClassName('repeating')[0] as HTMLElement
+ if (data.getProperty('rrule')) {
+ repeating.classList.remove('hidden');
+ } else {
+ repeating.classList.add('hidden');
+ }
+
this.replaceChildren(body);
}
}