diff --git a/packages/web/src/i18n/en.json b/packages/web/src/i18n/en.json index 7f0b600..09126e3 100644 --- a/packages/web/src/i18n/en.json +++ b/packages/web/src/i18n/en.json @@ -85,6 +85,7 @@ "environment": "Environment", "screenshot": "Screenshot", "screenRecording": "Screen recording", + "noAttachments": "No attachments here", "editAnnotations": "Edit annotations", "savingAnnotations": "Saving…", "openFullscreen": "Open fullscreen", diff --git a/packages/web/src/i18n/ru.json b/packages/web/src/i18n/ru.json index 861536e..7dc1743 100644 --- a/packages/web/src/i18n/ru.json +++ b/packages/web/src/i18n/ru.json @@ -85,6 +85,7 @@ "environment": "Окружение", "screenshot": "Скриншот", "screenRecording": "Запись экрана", + "noAttachments": "Вложений нет", "editAnnotations": "Редактировать аннотации", "savingAnnotations": "Сохранение…", "openFullscreen": "Открыть на весь экран", diff --git a/packages/web/src/pages/ReportPage.vue b/packages/web/src/pages/ReportPage.vue index 78ee8e7..8cd7466 100644 --- a/packages/web/src/pages/ReportPage.vue +++ b/packages/web/src/pages/ReportPage.vue @@ -119,7 +119,9 @@ const tabs = computed(() => { const items = [{ id: "details", label: t("report.details") }]; if (report.value?.steps?.length) items.push({ id: "steps", label: t("report.steps") }); - if (report.value?.attachments?.length) items.push({ id: "attachments", label: t("report.attachments") }); + // the tab stays once the report is loaded — an empty block shows an + // empty state instead of disappearing + if (report.value) items.push({ id: "attachments", label: t("report.attachments") }); return items; }); @@ -416,9 +418,14 @@ -