Skip to content

Commit

Permalink
chore: round status percentages
Browse files Browse the repository at this point in the history
  • Loading branch information
francisvaut committed May 16, 2024
1 parent 8e3be47 commit cfb55c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/projects/ProjectMeter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ const meterItems = computed(() => {
return [
{
value: (extraChecksPassed / groups) * 100,
value: Math.round((extraChecksPassed / groups) * 100),
color: '#749b68',
label: t('components.card.extraTestsSucceed'),
icon: 'pi pi-check',
},
{
value: (structureChecksPassed / groups) * 100,
value: Math.round((structureChecksPassed / groups) * 100),
color: '#fa9746',
label: t('components.card.structureTestsSucceed'),
icon: 'pi pi-exclamation-circle',
},
{
value: (submissionsFailed / groups) * 100,
value: Math.round((submissionsFailed / groups) * 100),
color: '#FF5445',
label: t('components.card.testsFail'),
icon: 'pi pi-times',
Expand Down

0 comments on commit cfb55c7

Please sign in to comment.