diff --git a/app/MindWork AI Studio/Pages/About.razor b/app/MindWork AI Studio/Pages/About.razor
index 75e2bd8b..ff904daa 100644
--- a/app/MindWork AI Studio/Pages/About.razor
+++ b/app/MindWork AI Studio/Pages/About.razor
@@ -102,12 +102,15 @@
break;
}
-
- @(this.showConfigDetails ? T("Hide Details") : T("Show Details"))
-
+ @if (this.HasEnterpriseConfigurationDetails)
+ {
+
+ @(this.showEnterpriseConfigDetails ? T("Hide Details") : T("Show Details"))
+
+ }
diff --git a/app/MindWork AI Studio/Pages/About.razor.cs b/app/MindWork AI Studio/Pages/About.razor.cs
index 0d48690f..c0119e1a 100644
--- a/app/MindWork AI Studio/Pages/About.razor.cs
+++ b/app/MindWork AI Studio/Pages/About.razor.cs
@@ -63,6 +63,31 @@ public partial class About : MSGComponentBase
private IPluginMetadata? configPlug = PluginFactory.AvailablePlugins.FirstOrDefault(x => x.Type is PluginType.CONFIGURATION);
private EnterpriseEnvironment currentEnvironment = EnterpriseEnvironmentService.CURRENT_ENVIRONMENT;
+
+ ///
+ /// Determines whether the enterprise configuration has details that can be shown/hidden.
+ /// Returns true if there are details available, false otherwise.
+ ///
+ private bool HasEnterpriseConfigurationDetails
+ {
+ get
+ {
+ return this.currentEnvironment.IsActive switch
+ {
+ // Case 1: No enterprise config and no plugin - no details available
+ false when this.configPlug is null => false,
+
+ // Case 2: Enterprise config with plugin but no central management - has details
+ false => true,
+
+ // Case 3: Enterprise config active but no plugin - has details
+ true when this.configPlug is null => true,
+
+ // Case 4: Enterprise config active with plugin - has details
+ true => true
+ };
+ }
+ }
#region Overrides of ComponentBase