Skip to content
Snippets Groups Projects
Commit 7b6834ac authored by svornost's avatar svornost
Browse files

Don't fail to generate quicklinks when the nursery exists.

parent 1fef652c
No related branches found
No related tags found
1 merge request!6848Fixes
...@@ -64,8 +64,8 @@ App.Entity.Facilities.Nursery = class extends App.Entity.Facilities.SingleJobFac ...@@ -64,8 +64,8 @@ App.Entity.Facilities.Nursery = class extends App.Entity.Facilities.SingleJobFac
/** @override */ /** @override */
occupancyReport(long) { occupancyReport(long) {
return long return long
? `${V.nurseryBabies}/${V.nursery} babies, ${this.nursery.hostedSlaves}/${V.nurseryNannies} nannies${this.manager.currentEmployee ? `, ${this.manager.desc.position}` : ""}` ? `${V.nurseryBabies}/${V.nursery} babies, ${this.hostedSlaves}/${V.nurseryNannies} nannies${this.manager.currentEmployee ? `, ${this.manager.desc.position}` : ""}`
: `${V.nurseryBabies}/${V.nursery}, ${this.nursery.hostedSlaves}/${V.nurseryNannies}${this.manager.currentEmployee ? ", L" : ""}`; : `${V.nurseryBabies}/${V.nursery}, ${this.hostedSlaves}/${V.nurseryNannies}${this.manager.currentEmployee ? ", L" : ""}`;
} }
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment