fix: поправил суммаризацию
This commit is contained in:
parent
602a391102
commit
cce0200999
|
|
@ -17,7 +17,7 @@ export default function ItemList({ isFetching, blacklistItems, showDialog }: { i
|
||||||
<div className="list-container">
|
<div className="list-container">
|
||||||
<div className="item-list">
|
<div className="item-list">
|
||||||
{blacklistItems.map((item) => {
|
{blacklistItems.map((item) => {
|
||||||
let summary = item.afk + item.cheater + item.griefer + item.cheater + item.useless + item.smurf;
|
let summary = item.afk + item.cheater + item.griefer + item.toxic + item.useless + item.smurf;
|
||||||
let color = 'rgb(255 255 255 / 17%)';
|
let color = 'rgb(255 255 255 / 17%)';
|
||||||
if (summary < 2){
|
if (summary < 2){
|
||||||
color = 'rgba(48,255,0,0.1)';
|
color = 'rgba(48,255,0,0.1)';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue