- Billettera
- Lista Ingressi - Send a Tutti la propria Lavagna.
This commit is contained in:
@@ -66,7 +66,7 @@ export default class CStatusReg extends MixinBase {
|
||||
|
||||
public created() {
|
||||
if (tools.isManager()) {
|
||||
this.MAXNUM_POLLING = 1000
|
||||
this.MAXNUM_POLLING = 100
|
||||
}
|
||||
this.load()
|
||||
}
|
||||
@@ -131,6 +131,13 @@ export default class CStatusReg extends MixinBase {
|
||||
return 0
|
||||
}
|
||||
|
||||
public calcperc(val1, valmax ) {
|
||||
if (valmax > 0)
|
||||
return (val1 / valmax * 100)
|
||||
else
|
||||
return 0
|
||||
}
|
||||
|
||||
get visustat() {
|
||||
return this.datastat.num_reg > 0 || this.datastat.num_reg_lista > 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user