fix traslate, fix filter bug for file matches tables
This commit is contained in:
@@ -64,7 +64,6 @@ export default function FilePageViolationInfo({ selectedViolation }: { selectedV
|
||||
if (!selectedViolation) {
|
||||
return (
|
||||
<div>
|
||||
not found
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -44,6 +44,7 @@ export default function FilePageViolationsList({
|
||||
} else {
|
||||
params.delete('status');
|
||||
}
|
||||
setSelectedViolation(null);
|
||||
params.set('page', '1');
|
||||
router.push(`${pathname}?${params.toString()}`, { scroll: false });
|
||||
};
|
||||
@@ -168,7 +169,7 @@ export default function FilePageViolationsList({
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
|
||||
{/* general info for match */}
|
||||
<FilePageViolationInfo selectedViolation={selectedViolation} />
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user