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.
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.