more fixes x2

pull/29/head
Matthew 2020-11-06 02:32:24 -05:00
parent fff29389f0
commit 2217d0fb2c
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 4 additions and 4 deletions

View File

@ -129,10 +129,10 @@ export default class Report extends Route {
if (data.report.roles <= 0) role = 0; if (data.report.roles <= 0) role = 0;
else if (data.report.roles > 54) role = 54; else if (data.report.roles > 54) role = 54;
else activity = Math.round(data.report.roles); else role = Math.round(data.report.roles);
if (data.report.staff <= 0) role = 0; if (data.report.staff <= 0) role = 0;
else activity = Math.round(data.report.staff); else misc = Math.round(data.report.staff);
if (data.report.cloudServices === 0) cloud = 0; if (data.report.cloudServices === 0) cloud = 0;
else if (data.report.cloudServices > 10) cloud = 10; else if (data.report.cloudServices > 10) cloud = 10;
@ -309,10 +309,10 @@ export default class Report extends Route {
if (data.report.roles <= 0) role = 0; if (data.report.roles <= 0) role = 0;
else if (data.report.roles > 54) role = 54; else if (data.report.roles > 54) role = 54;
else activity = Math.round(data.report.roles); else role = Math.round(data.report.roles);
if (data.report.staff <= 0) role = 0; if (data.report.staff <= 0) role = 0;
else activity = Math.round(data.report.staff); else misc = Math.round(data.report.staff);
if (data.report.cloudServices === 0) cloud = 0; if (data.report.cloudServices === 0) cloud = 0;
else if (data.report.cloudServices > 10) cloud = 10; else if (data.report.cloudServices > 10) cloud = 10;