add error handlers

This commit is contained in:
smanylov
2026-02-02 15:09:29 +07:00
parent 7789f19055
commit ab0b68a7b8
3 changed files with 5 additions and 3 deletions
@@ -145,7 +145,7 @@ export default function DashboardUserFiles() {
</div>
</div>
<div className="file-badge protected">
{t(file.protectStatus)}
{file.protectStatus ? t(file.protectStatus) : t('error')}
</div>
</div>
)