From 61f4c6a54097a82a3cbdc2ceee2131ab2cc0d011 Mon Sep 17 00:00:00 2001 From: qwerty287 <80460567+qwerty287@users.noreply.github.com> Date: Thu, 25 Jul 2024 23:25:55 +0200 Subject: [PATCH] Show logs if step has error (#3979) --- web/src/assets/locales/en.json | 1 + web/src/components/repo/pipeline/PipelineLog.vue | 13 +++++++------ web/src/views/repo/pipeline/Pipeline.vue | 15 +-------------- 3 files changed, 9 insertions(+), 20 deletions(-) diff --git a/web/src/assets/locales/en.json b/web/src/assets/locales/en.json index 244771d10..a009b1997 100644 --- a/web/src/assets/locales/en.json +++ b/web/src/assets/locales/en.json @@ -191,6 +191,7 @@ "pipelines_for_pr": "Pipelines for pull request #{index}", "exit_code": "Exit Code {exitCode}", "loading": "Loading…", + "no_logs": "No logs", "pipeline": "Pipeline #{pipelineId}", "log_title": "Step Logs", "log_download_error": "There was an error while downloading the log file", diff --git a/web/src/components/repo/pipeline/PipelineLog.vue b/web/src/components/repo/pipeline/PipelineLog.vue index f296c5eff..3a9bca987 100644 --- a/web/src/components/repo/pipeline/PipelineLog.vue +++ b/web/src/components/repo/pipeline/PipelineLog.vue @@ -13,7 +13,7 @@