diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-11-19 16:45:06 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-11-19 16:45:06 +0100 |
commit | 3bd26b63adf49ec1b3f52897008738f13b864451 (patch) | |
tree | b8b0d7a6eca1c209558a5f350bd281c2c2a01028 /static/components/vevent-block.ts | |
parent | Add input-list custom element. (diff) | |
download | calp-3bd26b63adf49ec1b3f52897008738f13b864451.tar.gz calp-3bd26b63adf49ec1b3f52897008738f13b864451.tar.xz |
Add basic rrule tab.
Diffstat (limited to 'static/components/vevent-block.ts')
-rw-r--r-- | static/components/vevent-block.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/static/components/vevent-block.ts b/static/components/vevent-block.ts index 8c6d11cf..a4aaba24 100644 --- a/static/components/vevent-block.ts +++ b/static/components/vevent-block.ts @@ -59,5 +59,9 @@ class ComponentBlock extends ComponentVEvent { if (data.calendar) { this.dataset.calendar = data.calendar; } + + if (data.getProperty('rrule') !== undefined) { + (this.getElementsByClassName('repeating')![0] as HTMLElement).innerText = '↺' + } } } |