fix(character): take tabard toggle into account when showing/hiding transmogs
This commit is contained in:
parent
0dd11a77f5
commit
980467f49f
1 changed files with 2 additions and 1 deletions
|
|
@ -172,7 +172,8 @@
|
||||||
|
|
||||||
const hideHelm = $("#cb-hide-helmet").prop("checked");
|
const hideHelm = $("#cb-hide-helmet").prop("checked");
|
||||||
const hideCloak = $("#cb-hide-cloak").prop("checked");
|
const hideCloak = $("#cb-hide-cloak").prop("checked");
|
||||||
setItems(items.filter(item => !((item[0] === 1 && hideHelm) || (item[0] === 16 && hideCloak))));
|
const hideTabard = $("#cb-hide-tabard").prop("checked");
|
||||||
|
setItems(items.filter(item => !((item[0] === 1 && hideHelm) || (item[0] === 16 && hideCloak) || (item[0] === 19 && hideTabard))));
|
||||||
});
|
});
|
||||||
|
|
||||||
let viewer;
|
let viewer;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue