fix traslate, fix filter bug for file matches tables
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "no-copy-frontend",
|
"name": "no-copy-frontend",
|
||||||
"version": "0.72.0",
|
"version": "0.73.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev -p 2999",
|
"dev": "next dev -p 2999",
|
||||||
|
|||||||
@@ -64,7 +64,6 @@ export default function FilePageViolationInfo({ selectedViolation }: { selectedV
|
|||||||
if (!selectedViolation) {
|
if (!selectedViolation) {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
not found
|
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,6 +44,7 @@ export default function FilePageViolationsList({
|
|||||||
} else {
|
} else {
|
||||||
params.delete('status');
|
params.delete('status');
|
||||||
}
|
}
|
||||||
|
setSelectedViolation(null);
|
||||||
params.set('page', '1');
|
params.set('page', '1');
|
||||||
router.push(`${pathname}?${params.toString()}`, { scroll: false });
|
router.push(`${pathname}?${params.toString()}`, { scroll: false });
|
||||||
};
|
};
|
||||||
@@ -168,7 +169,7 @@ export default function FilePageViolationsList({
|
|||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
|
{/* general info for match */}
|
||||||
<FilePageViolationInfo selectedViolation={selectedViolation} />
|
<FilePageViolationInfo selectedViolation={selectedViolation} />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -382,7 +382,7 @@
|
|||||||
"no-information-about-the-complaint": "No information about the complaint",
|
"no-information-about-the-complaint": "No information about the complaint",
|
||||||
"the-complaint-has-not-been-registered": "The complaint has not been registered",
|
"the-complaint-has-not-been-registered": "The complaint has not been registered",
|
||||||
"the-complaint-has-been-registered": "The complaint has been registered",
|
"the-complaint-has-been-registered": "The complaint has been registered",
|
||||||
"all-statuses": "Все статусы"
|
"all-statuses": "All statuses"
|
||||||
},
|
},
|
||||||
"Login-register-form": {
|
"Login-register-form": {
|
||||||
"and": "and",
|
"and": "and",
|
||||||
|
|||||||
Reference in New Issue
Block a user