update viewers page
This commit is contained in:
+7
-5
@@ -2129,11 +2129,13 @@ function MiniLineChart({ accent = 'text-fury-cyan', data, label, metric, stroke
|
||||
.join(', ')}
|
||||
</span>
|
||||
) : null}
|
||||
{metric === 'locations' && hoveredPoint.location_labels?.length ? (
|
||||
<span className="mt-1 block max-w-48 whitespace-normal font-normal text-bg/80">
|
||||
{hoveredPoint.location_labels
|
||||
.map((location) => `${location.label} (${formatNumber(location.visitors)})`)
|
||||
.join(', ')}
|
||||
{metric === 'locations' ? (
|
||||
<span className="mt-1 block max-w-64 whitespace-normal font-normal text-bg/80">
|
||||
{hoveredPoint.location_labels?.length
|
||||
? hoveredPoint.location_labels
|
||||
.map((location) => `${location.label} (${formatNumber(location.visitors)})`)
|
||||
.join(', ')
|
||||
: 'No location labels stored for this day'}
|
||||
</span>
|
||||
) : null}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user