fix(svg): airdryer A change direction
This commit is contained in:
@@ -95,6 +95,11 @@ const handleBoolean = (svg, el, value) => {
|
||||
return;
|
||||
}
|
||||
|
||||
// balik arah khusus untuk airdryerA
|
||||
if (dryerIds.slice(0, 2).includes(el.id)) {
|
||||
value = !value;
|
||||
}
|
||||
|
||||
const i = dryerIds.indexOf(el.id);
|
||||
const id1 = dryerIds[i - (i % 2)];
|
||||
const id2 = dryerIds[i - (i % 2) + 1];
|
||||
|
||||
Reference in New Issue
Block a user