-
-
-
-
-
- {file.fileName}
+
+ {tableData?.length ? (
+ tableData?.map((file) => {
+ return (
+
+
+
-
- {convertBytes(file.size ? file.size : 0)} • {formatDate(file.uploadDate ? file.uploadDate : 0)}
+
+
+ {file.fileName}
+
+
+ {convertBytes(file.size ? file.size : 0)} • {formatDate(file.uploadDate ? file.uploadDate : 0)}
+
+
+
+ {t(file.protectStatus)}
-
- {t(file.protectStatus)}
-
-
- )
- })}
+ )
+ })
+ ) : (
+
+ {t('there-are-no-files-yet')}
+
+ )}
)
diff --git a/src/i18n/messages/ru.json b/src/i18n/messages/ru.json
index a2c083a..2d74ade 100644
--- a/src/i18n/messages/ru.json
+++ b/src/i18n/messages/ru.json
@@ -204,7 +204,7 @@
"FAILED": "Ошибка",
"FAILED_SAVE": "Сохранение не удалось",
"view": "Посмотреть",
- "are-no-violations": "Нарушений нету"
+ "are-no-violations": "Нарушений нет"
},
"Login-register-form": {
"and": "и",