Skip to content
Snippets Groups Projects
Commit 40445c48 authored by Rituraj Sambherao's avatar Rituraj Sambherao
Browse files

pipeline fix

parent 2e145daf
No related branches found
No related tags found
No related merge requests found
...@@ -212,11 +212,10 @@ fun formatRiskActiveTracingDaysInRetentionPeriod( ...@@ -212,11 +212,10 @@ fun formatRiskActiveTracingDaysInRetentionPeriod(
} }
/** /**
* Formats the risk card text display of tracing active duration in days depending on risk level * Formats the risk loggin period card text display of tracing active duration in days depending on risk level
* Special case for increased risk as it is then only displayed on risk detail view * Displayed in case riskLevel is High and Low level
* *
* @param riskLevelScore * @param riskLevelScore
* @param showDetails
* @param activeTracingDaysInRetentionPeriod * @param activeTracingDaysInRetentionPeriod
* @return * @return
*/ */
...@@ -551,14 +550,16 @@ fun formatVisibilityBehaviorIncreasedRisk(riskLevelScore: Int?): Int = ...@@ -551,14 +550,16 @@ fun formatVisibilityBehaviorIncreasedRisk(riskLevelScore: Int?): Int =
formatVisibility(riskLevelScore == RiskLevelConstants.INCREASED_RISK) formatVisibility(riskLevelScore == RiskLevelConstants.INCREASED_RISK)
/** /**
* Format the risk details include display for suggested behavior depending on risk level * Format the risk details period logged card display depending on risk level
* Only applied in special case for increased risk * applied in case of low and high risk levels
* *
* @param riskLevelScore * @param riskLevelScore
* @return * @return
*/ */
fun formatVisibilityBehaviorPeriodLogged(riskLevelScore: Int?): Int = fun formatVisibilityBehaviorPeriodLogged(riskLevelScore: Int?): Int =
formatVisibility(riskLevelScore == RiskLevelConstants.INCREASED_RISK || riskLevelScore == RiskLevelConstants.LOW_LEVEL_RISK) formatVisibility(
riskLevelScore == RiskLevelConstants.INCREASED_RISK ||
riskLevelScore == RiskLevelConstants.LOW_LEVEL_RISK)
/** /**
* Formats the risk details suggested behavior icon color depending on risk level * Formats the risk details suggested behavior icon color depending on risk level
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment