add option to toggle about page/make some checks on displayed rules
This commit is contained in:
@ -5,6 +5,7 @@ namespace WebfrontCore.Extensions
|
||||
public static class WebfrontExtensions
|
||||
{
|
||||
public static bool ShouldUseFallbackBranding(this ApplicationConfiguration appConfig) =>
|
||||
string.IsNullOrWhiteSpace(appConfig?.CommunityInformation?.Name) || appConfig.CommunityInformation.Name.Contains("IW4MAdmin");
|
||||
string.IsNullOrWhiteSpace(appConfig?.CommunityInformation?.Name) ||
|
||||
appConfig.CommunityInformation.Name.Contains("IW4MAdmin") || !appConfig.CommunityInformation.IsEnabled;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user