mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Filter out unreported if there are none
This commit is contained in:
parent
e47a0ac3db
commit
0de1752884
1 changed files with 9 additions and 1 deletions
|
|
@ -85,7 +85,15 @@ export default {
|
|||
percent: this.unsupportedPercent,
|
||||
verbiage: `are not working. `
|
||||
},
|
||||
]
|
||||
].filter( percentage => {
|
||||
const isZero = (percentage.percent === 0)
|
||||
const isUnreported = (percentage.emoji === '🔶')
|
||||
|
||||
// Filter out
|
||||
if (isUnreported && isZero) return false
|
||||
|
||||
return true
|
||||
})
|
||||
},
|
||||
nonEmptyPercentages () {
|
||||
return this.percentages.filter(percentage => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue