diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-12-10 00:13:15 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-12-10 00:13:15 +0100 |
commit | 5211cea181bbdf9c5296f09806c3735197bc2042 (patch) | |
tree | 1b0dad1db73330e4c237885100e463f5cae99e64 /static/components/vevent-block.ts | |
parent | Better handling of popup visibility. (diff) | |
download | calp-5211cea181bbdf9c5296f09806c3735197bc2042.tar.gz calp-5211cea181bbdf9c5296f09806c3735197bc2042.tar.xz |
Close popup on event creation.
Diffstat (limited to '')
-rw-r--r-- | static/components/vevent-block.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/static/components/vevent-block.ts b/static/components/vevent-block.ts index de9cf748..0aad19b2 100644 --- a/static/components/vevent-block.ts +++ b/static/components/vevent-block.ts @@ -35,6 +35,11 @@ class ComponentBlock extends ComponentVEvent { } else { el.textContent = d; } + } else switch (p.toLowerCase()) { + /* We lack that property, but might want to set a default here */ + case 'summary': + el.textContent = 'Ny händelse' + break; } } |