XavierBerger/RPi-Monitor

Why does Badge not work?

racedowling opened this issue · 1 comments

I want to display a badge only when data.throttled is equal to the string danger but I cannot get it to work.

I've tried various ways of getting this. the latest is Badge(data.throttled,"==danger", "WARNING","danger") It just displays that as text instead of evaulating.

The syntax that eventually worked was "='danger'"