Fix whirlpool type comparison

This commit is contained in:
uwap 2020-10-04 19:00:52 +02:00
parent af89238999
commit 8917402888

View file

@ -633,7 +633,7 @@ const config: Config = {
position: [1413, 500],
icon: mdi("pool"),
iconColor: ({whirlpoolBubbles}) =>
(whirlpoolBubbles > 0 ? hex("#00ff00") : hex("#000000")),
(parseInt(whirlpoolBubbles) > 0 ? hex("#00ff00") : hex("#000000")),
ui: [
{
type: "text",