mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 17:40:23 +03:00
Switched visits buttons order
This commit is contained in:
parent
3f34a1fb87
commit
8d69945e8e
1 changed files with 8 additions and 8 deletions
|
@ -300,19 +300,19 @@ const VisitsStats: FC<VisitsStatsProps> = ({
|
||||||
{visits.length > 0 && (
|
{visits.length > 0 && (
|
||||||
<div className="col-lg-5 col-xl-6 mt-3 mt-lg-0">
|
<div className="col-lg-5 col-xl-6 mt-3 mt-lg-0">
|
||||||
<div className="d-flex">
|
<div className="d-flex">
|
||||||
<Button
|
|
||||||
outline
|
|
||||||
disabled={highlightedVisits.length === 0}
|
|
||||||
className="btn-md-block me-2"
|
|
||||||
onClick={() => setSelectedVisits([])}
|
|
||||||
>
|
|
||||||
Clear selection {highlightedVisits.length > 0 && <>({prettify(highlightedVisits.length)})</>}
|
|
||||||
</Button>
|
|
||||||
<ExportBtn
|
<ExportBtn
|
||||||
className="btn-md-block"
|
className="btn-md-block"
|
||||||
amount={normalizedVisits.length}
|
amount={normalizedVisits.length}
|
||||||
onClick={() => exportCsv(normalizedVisits)}
|
onClick={() => exportCsv(normalizedVisits)}
|
||||||
/>
|
/>
|
||||||
|
<Button
|
||||||
|
outline
|
||||||
|
disabled={highlightedVisits.length === 0}
|
||||||
|
className="btn-md-block ms-2"
|
||||||
|
onClick={() => setSelectedVisits([])}
|
||||||
|
>
|
||||||
|
Clear selection {highlightedVisits.length > 0 && <>({prettify(highlightedVisits.length)})</>}
|
||||||
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in a new issue