Skip to content

Commit

Permalink
Fixing logic
Browse files Browse the repository at this point in the history
  • Loading branch information
barthamark committed May 18, 2023
1 parent c7f6d51 commit 3ac6cc4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ public static string GetEvaluatedValueForTenant(
var evaluatedValue = !string.IsNullOrEmpty(valueForAnyTenant)
? ReplaceTenantName(valueForAnyTenant, shellSettings.Name)
: string.Empty;
var evaluatedValueForDefaultTenant = valueForDefaultTenant ?? evaluatedValue;

return shellSettings.IsDefaultShell() ? evaluatedValueForDefaultTenant : evaluatedValue;
return shellSettings.IsDefaultShell() ? valueForDefaultTenant : evaluatedValue;
}
}

0 comments on commit 3ac6cc4

Please sign in to comment.