Extended ShortUrlVisitsCount test to cover different contents of the tooltip

This commit is contained in:
Alejandro Celaya
2022-12-19 20:18:50 +01:00
parent afc272c4d9
commit 73a3d1d50f
2 changed files with 35 additions and 7 deletions

View File

@@ -64,7 +64,7 @@ export const ShortUrlsRow = (
</td>
<td className="responsive-table__cell short-urls-row__cell text-lg-end" data-th="Visits">
<ShortUrlVisitsCount
visitsCount={shortUrl.visitsCount}
visitsCount={shortUrl.visitsSummary?.total ?? shortUrl.visitsCount}
shortUrl={shortUrl}
selectedServer={selectedServer}
active={active}