aboutsummaryrefslogtreecommitdiff
path: root/static/components/vevent-block.ts
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-06-23 01:39:08 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-06-23 01:39:08 +0200
commit327b322b9583f760cd02ddad7a2a8890df26cc8b (patch)
treed0a73d5df0011233f3eaa5d9a54d1317fad50bbc /static/components/vevent-block.ts
parentMinor cleanup in recurrence generate. (diff)
downloadcalp-327b322b9583f760cd02ddad7a2a8890df26cc8b.tar.gz
calp-327b322b9583f760cd02ddad7a2a8890df26cc8b.tar.xz
Diffstat (limited to 'static/components/vevent-block.ts')
-rw-r--r--static/components/vevent-block.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/static/components/vevent-block.ts b/static/components/vevent-block.ts
index 8cf61d30..f97a0e54 100644
--- a/static/components/vevent-block.ts
+++ b/static/components/vevent-block.ts
@@ -10,8 +10,8 @@ import { parseDate, to_local } from '../lib'
A grahpical block in the week view.
*/
class ComponentBlock extends ComponentVEvent {
- constructor(uid?: string) {
- super(uid);
+ constructor(uid?: string, instance?: string) {
+ super(uid!, instance!);
if (!this.template) {
throw 'vevent-block template required';