From 2dd7f4056a808cd95d026d416457fcf4adbc6245 Mon Sep 17 00:00:00 2001 From: Florian Greinacher <florian.greinacher@siemens.com> Date: Fri, 1 Mar 2024 23:08:56 +0100 Subject: [PATCH] fix(options): only show confidence badges if version is available (#27654) --- lib/config/options/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/config/options/index.ts b/lib/config/options/index.ts index f2b509c9a5..00459b4fa2 100644 --- a/lib/config/options/index.ts +++ b/lib/config/options/index.ts @@ -2545,13 +2545,13 @@ const options: RenovateOptions[] = [ Pending: '{{{displayPending}}}', References: '{{{references}}}', 'Package file': '{{{packageFile}}}', - Age: "[](https://docs.renovatebot.com/merge-confidence/)", + Age: "{{#if newVersion}}[](https://docs.renovatebot.com/merge-confidence/){{/if}}", Adoption: - "[](https://docs.renovatebot.com/merge-confidence/)", + "{{#if newVersion}}[](https://docs.renovatebot.com/merge-confidence/){{/if}}", Passing: - "[](https://docs.renovatebot.com/merge-confidence/)", + "{{#if newVersion}}[](https://docs.renovatebot.com/merge-confidence/){{/if}}", Confidence: - "[](https://docs.renovatebot.com/merge-confidence/)", + "{{#if newVersion}}[](https://docs.renovatebot.com/merge-confidence/){{/if}}", }, }, { -- GitLab