diff --git a/lib/utils/widgets.js b/lib/utils/widgets.js index f5e961f..663a34c 100644 --- a/lib/utils/widgets.js +++ b/lib/utils/widgets.js @@ -626,7 +626,7 @@ var waterIQ = function waterIQ(widget, intl) { value: worst.user, month: intl.formatDate(worst.timestamp, { month: 'long' }) }), - display: hasWaterIQ + display: hasWaterIQ && worst.user !== best.user }, { text: intl.formatMessage({ id: 'comparisons.wateriq-no-data' }), display: !hasWaterIQ diff --git a/utils/widgets.js b/utils/widgets.js index fe1eec8..3573914 100644 --- a/utils/widgets.js +++ b/utils/widgets.js @@ -514,7 +514,7 @@ const waterIQ = function (widget, intl) { value: worst.user, month: intl.formatDate(worst.timestamp, { month: 'long' }), }), - display: hasWaterIQ, + display: hasWaterIQ && worst.user !== best.user, }, { text: intl.formatMessage({ id: 'comparisons.wateriq-no-data' }),