From 92c9e10055555ed729905434861e2be4991b71e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20OLIVIER?= <cedric3.olivier@orange.com>
Date: Tue, 1 Oct 2024 15:10:46 +0200
Subject: [PATCH] fix: set CI_SERVER_FQDN on component variant

---
 src/app/gitlab-ci/gitlab-ci.component.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/gitlab-ci/gitlab-ci.component.html b/src/app/gitlab-ci/gitlab-ci.component.html
index 7eb85b2..5a26476 100644
--- a/src/app/gitlab-ci/gitlab-ci.component.html
+++ b/src/app/gitlab-ci/gitlab-ci.component.html
@@ -216,7 +216,7 @@
             <pre class="comment">
   # {{ template.name }} template ({{ variant.name }} variant)</pre
             >
-            <pre>  - <span class="key">component</span>: "<span class="value">{{ serverHost }}/{{ variant.project.path }}/{{ variant.templateFile }}&#64;{{ variant.project.getLatestVersion(options.versionMode) }}</span>"</pre>
+            <pre>  - <span class="key">component</span>: "<span class="value">$CI_SERVER_FQDN/{{ variant.project.path }}/{{ variant.templateFile }}&#64;{{ variant.project.getLatestVersion(options.versionMode) }}</span>"</pre>
             <div [class.hide]="!hasInputs(variant)">
               <pre>    <span class="key">inputs</span>:</pre>
               <div class="elements">
-- 
GitLab