fix(ui) - audit list page set

This commit is contained in:
Shekar Siri 2023-01-27 17:59:06 +01:00 committed by Taha Yassine Kraiem
parent 78767db2d0
commit 2bb3e3c4c9

View file

@ -49,7 +49,10 @@ function AuditView(props) {
onChange={({ value }) => auditStore.updateKey('order', value.value)}
/>
</div>
<AuditSearchField onChange={(value) => auditStore.updateKey('searchQuery', value) }/>
<AuditSearchField onChange={(value) => {
auditStore.updateKey('searchQuery', value);
auditStore.updateKey('page', 1)
} }/>
<div>
<Button variant="text-primary" className="ml-3" onClick={exportToCsv}>
<Icon name="grid-3x3" color="teal" />