mirror of
https://github.com/zadam/trilium.git
synced 2026-03-25 21:30:14 +01:00
fix(client/import_preview): off by one error when displaying status
This commit is contained in:
@@ -159,7 +159,7 @@ function SinglePreview({ preview }: { preview: ImportPreviewResponse }) {
|
||||
</div>
|
||||
|
||||
<div className="dangerous-categories">
|
||||
{categories.length > 1
|
||||
{categories.length > 0
|
||||
? categories.map(dangerousCategory => {
|
||||
const mapping = DANGEROUS_CATEGORIES_MAPPINGS[dangerousCategory];
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user