fix: various menu fixes
This commit is contained in:
@@ -124,4 +124,8 @@ export class MenuNewComponent {
|
||||
getStat(day: moment.Moment, m: "ob" | "kol") {
|
||||
this.ac.menu.stat(day, m).subscribe((s) => this.sb.open(`${s.y} / ${s.y+s.n} = ${((s.y/(s.y+s.n))*100).toFixed(2)}%`, "Zamknij", {duration: 2500}))
|
||||
}
|
||||
|
||||
remove(id: string) {
|
||||
this.ac.menu.rm(id).subscribe(this.refreshIfGood)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user