From c1ad19653486ee8f546b451efe7153e96f12e580 Mon Sep 17 00:00:00 2001 From: qwerty287 <80460567+qwerty287@users.noreply.github.com> Date: Fri, 27 Jun 2025 12:49:03 +0300 Subject: [PATCH] Use pipeline number in title (#5275) --- web/src/views/repo/pipeline/Pipeline.vue | 2 +- web/src/views/repo/pipeline/PipelineChangedFiles.vue | 2 +- web/src/views/repo/pipeline/PipelineConfig.vue | 2 +- web/src/views/repo/pipeline/PipelineDebug.vue | 2 +- web/src/views/repo/pipeline/PipelineErrors.vue | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/src/views/repo/pipeline/Pipeline.vue b/web/src/views/repo/pipeline/Pipeline.vue index 447a56a99..44a55a6c7 100644 --- a/web/src/views/repo/pipeline/Pipeline.vue +++ b/web/src/views/repo/pipeline/Pipeline.vue @@ -149,7 +149,7 @@ const { doSubmit: declinePipeline, isLoading: isDecliningPipeline } = useAsyncAc useWPTitle( computed(() => [ i18n.t('repo.pipeline.tasks'), - i18n.t('repo.pipeline.pipeline', { pipelineId: pipeline.value.id }), + i18n.t('repo.pipeline.pipeline', { pipelineId: pipeline.value.number }), repo.value.full_name, ]), ); diff --git a/web/src/views/repo/pipeline/PipelineChangedFiles.vue b/web/src/views/repo/pipeline/PipelineChangedFiles.vue index 45a0a8f73..5d67da7d7 100644 --- a/web/src/views/repo/pipeline/PipelineChangedFiles.vue +++ b/web/src/views/repo/pipeline/PipelineChangedFiles.vue @@ -21,7 +21,7 @@ const { t } = useI18n(); useWPTitle( computed(() => [ t('repo.pipeline.files'), - t('repo.pipeline.pipeline', { pipelineId: pipeline.value.id }), + t('repo.pipeline.pipeline', { pipelineId: pipeline.value.number }), repo.value.full_name, ]), ); diff --git a/web/src/views/repo/pipeline/PipelineConfig.vue b/web/src/views/repo/pipeline/PipelineConfig.vue index 0710a8b8a..eccb9490c 100644 --- a/web/src/views/repo/pipeline/PipelineConfig.vue +++ b/web/src/views/repo/pipeline/PipelineConfig.vue @@ -38,7 +38,7 @@ const { t } = useI18n(); useWPTitle( computed(() => [ t('repo.pipeline.config'), - t('repo.pipeline.pipeline', { pipelineId: pipeline.value.id }), + t('repo.pipeline.pipeline', { pipelineId: pipeline.value.number }), repo.value.full_name, ]), ); diff --git a/web/src/views/repo/pipeline/PipelineDebug.vue b/web/src/views/repo/pipeline/PipelineDebug.vue index c302e646e..c27583788 100644 --- a/web/src/views/repo/pipeline/PipelineDebug.vue +++ b/web/src/views/repo/pipeline/PipelineDebug.vue @@ -79,7 +79,7 @@ async function downloadMetadata() { useWPTitle( computed(() => [ t('repo.pipeline.debug.title'), - t('repo.pipeline.pipeline', { pipelineId: pipeline.value.id }), + t('repo.pipeline.pipeline', { pipelineId: pipeline.value.number }), repo.value.full_name, ]), ); diff --git a/web/src/views/repo/pipeline/PipelineErrors.vue b/web/src/views/repo/pipeline/PipelineErrors.vue index 485f6bd37..94086b88c 100644 --- a/web/src/views/repo/pipeline/PipelineErrors.vue +++ b/web/src/views/repo/pipeline/PipelineErrors.vue @@ -80,7 +80,7 @@ const { t } = useI18n(); useWPTitle( computed(() => [ pipeline.value.errors?.some((e) => !e.is_warning) ? t('repo.pipeline.errors') : t('repo.pipeline.warnings'), - t('repo.pipeline.pipeline', { pipelineId: pipeline.value.id }), + t('repo.pipeline.pipeline', { pipelineId: pipeline.value.number }), repo.value.full_name, ]), );