Converted Gantt from js to Jade.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2025-12-29 15:17:27 +02:00
parent ce9afbcaca
commit 2d3bef9033
11 changed files with 384 additions and 283 deletions

View file

@ -57,8 +57,9 @@ BlazeComponent.extendComponent({
BlazeComponent.extendComponent({
getComments() {
const ret = this.data().comments();
return ret;
const data = this.data();
if (!data || typeof data.comments !== 'function') return [];
return data.comments();
},
}).register("comments");