diff --git a/app/uk/gov/hmrc/cataloguefrontend/view/partials/DependenciesByEnvironmentPartial.scala.html b/app/uk/gov/hmrc/cataloguefrontend/view/partials/DependenciesByEnvironmentPartial.scala.html index 8a965dc17..6ce8bf70d 100644 --- a/app/uk/gov/hmrc/cataloguefrontend/view/partials/DependenciesByEnvironmentPartial.scala.html +++ b/app/uk/gov/hmrc/cataloguefrontend/view/partials/DependenciesByEnvironmentPartial.scala.html @@ -95,6 +95,21 @@ } @defining(optEnvData.toSeq.flatMap(_.repoModules).flatMap(_.allDependencies)){ dependencies => + @defining(dependencies.filter(_.scope == DependencyScope.Build)) { buildDependencies => + @if(buildDependencies.nonEmpty) { +
+
+ @dependenciesPartial( + buildDependencies + , s"build-dependencies-${slugInfoFlag.asString}" + , "Build" + , optEnvData.map(envData => (serviceName, envData.version)) + ) +
+
+ } + } +
@{ @@ -139,21 +154,6 @@
} } - - @defining(dependencies.filter(_.scope == DependencyScope.Build)) { buildDependencies => - @if(buildDependencies.nonEmpty) { -
-
- @dependenciesPartial( - buildDependencies - , s"build-dependencies-${slugInfoFlag.asString}" - , "Sbt Plugins" - , optEnvData.map(envData => (serviceName, envData.version)) - ) -
-
- } - } }
}