diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-07-07 20:29:11 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-07-07 21:14:09 +0200 |
commit | 6c44e85b820902a4d7bb640324d5ed927e414bcb (patch) | |
tree | 4fbf828cf87b65d2aeb52d5038d46f40d548f2c0 /static/components | |
parent | Import missing car+cdr. (diff) | |
download | calp-6c44e85b820902a4d7bb640324d5ed927e414bcb.tar.gz calp-6c44e85b820902a4d7bb640324d5ed927e414bcb.tar.xz |
Extend javascript formatters to also take VEvent.
Diffstat (limited to 'static/components')
-rw-r--r-- | static/components/vevent-description.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/components/vevent-description.ts b/static/components/vevent-description.ts index f0d224be..463725f1 100644 --- a/static/components/vevent-description.ts +++ b/static/components/vevent-description.ts @@ -28,8 +28,8 @@ class ComponentDescription extends ComponentVEvent { if ((d = data.getProperty(p))) { let key = p.toLowerCase(); let f = formatters.get(key); - if (f) f(el, d); - else window.formatters.get('default')!(el, d); + if (f) f(el, data, d); + else window.formatters.get('default')!(el, data, d); } } |