mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-12-18 20:04:17 +01:00
remove error message from sidebar
This commit is contained in:
parent
232d9c15b9
commit
7b80100add
@ -144,7 +144,7 @@ const ValidateSignatureResults = ({
|
||||
)}
|
||||
</Group>
|
||||
|
||||
<Stack gap="sm">
|
||||
<Stack gap="sm" style={{ maxHeight: '20rem', overflowY: 'auto' }}>
|
||||
{results.map((result) => {
|
||||
const hasError = Boolean(result.error);
|
||||
const hasSignatures = result.signatures.length > 0;
|
||||
@ -179,11 +179,6 @@ const ValidateSignatureResults = ({
|
||||
count: result.signatures.length,
|
||||
})}
|
||||
</Text>
|
||||
{result.error && (
|
||||
<Text size="xs" c="red">
|
||||
{result.error}
|
||||
</Text>
|
||||
)}
|
||||
{!result.error && result.signatures.length === 0 && (
|
||||
<Text size="xs" c="dimmed">
|
||||
{t('validateSignature.noSignatures', 'No digital signatures found in this document')}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user