Add
This commit is contained in:
parent
77d5646497
commit
c16101428a
@ -2420,7 +2420,7 @@ export class RdDActor extends Actor {
|
|||||||
return carac.chance;
|
return carac.chance;
|
||||||
}
|
}
|
||||||
const keys = Object.entries(carac)
|
const keys = Object.entries(carac)
|
||||||
.filter(it => it[0].includes(name) || Grammar.toLowerCaseNoAccent(it[1].label).includes(name))
|
.filter(it => it[0].includes(name) || Grammar.toLowerCaseNoAccent(it[0]).includes(name))
|
||||||
.map(it => it[0]);
|
.map(it => it[0]);
|
||||||
if (keys.length>1){
|
if (keys.length>1){
|
||||||
const names = keys.reduce((a, b) => `${a}<br>${b}`);
|
const names = keys.reduce((a, b) => `${a}<br>${b}`);
|
||||||
|
Loading…
Reference in New Issue
Block a user