Added progress bar to checklist

- Relates #1847
This commit is contained in:
Martin Filser 2022-01-15 15:48:55 +01:00
parent 61dd3180a4
commit ac1f540763
4 changed files with 32 additions and 0 deletions

View file

@ -77,6 +77,12 @@ BlazeComponent.extendComponent({
!Meteor.user().isWorker()
);
},
/** returns the finished percent of the checklist */
finishedPercent() {
const ret = this.data().checklist.finishedPercent();
return ret;
},
}).register('checklistDetail');
BlazeComponent.extendComponent({