diff options
Diffstat (limited to 'src/data/things')
-rw-r--r-- | src/data/things/group.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/data/things/group.js b/src/data/things/group.js index b6fba79c..0dbbbb7f 100644 --- a/src/data/things/group.js +++ b/src/data/things/group.js @@ -50,7 +50,10 @@ export class Group extends Thing { expose: { dependencies: ['description'], - compute: ({description}) => description.split('<hr class="split">')[0], + compute: ({description}) => + (description + ? description.split('<hr class="split">')[0] + : null), }, }, |