refactor/remove local value at top of API Explorer

This commit is contained in:
Hongwei 2023-03-09 13:43:29 +01:00
parent b7cce3c61a
commit 899e99e2d8

View File

@ -244,11 +244,6 @@ WIP to add comments on resource docs. This code copied from Sofit.
case _ => ""
}
val localeHeadline : String = localeParam match {
case Full(x) => x
case _ => ""
}
val contentHeadline : String = rawContentParam match {
case Full(x) => x
case _ => ""
@ -834,7 +829,7 @@ WIP to add comments on resource docs. This code copied from Sofit.
// Title / Headline we display including count of APIs
val headline : String = s"""
${apiVersionRequested.stripPrefix("OBP").stripPrefix("BG").stripPrefix("STET").stripPrefix("UK")}
$tagsHeadline $localeHeadline $contentHeadline $implementedHereHeadline (${resources.length} APIs)
$tagsHeadline $contentHeadline $implementedHereHeadline (${resources.length} APIs)
""".trim()