mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 21:27:21 +00:00
Turned getter-like extension methods into extension properties (#1157)
This commit is contained in:
1 parent
0375318b1b
commit
f649febf88
286 files changed
+1379
-1109
No files matched your search
@@ -123,7 +123,7 @@ public partial class Plugins : MSGComponentBase
|
||||
{
|
||||
var blockedAudit = securityState.Audit;
|
||||
if (blockedAudit is not null)
|
||||
await this.DialogService.ShowMessageBoxAsync(this.T("Assistant Audit"), $"{blockedAudit.Level.GetName()}: {blockedAudit.Summary}", this.T("Close"));
|
||||
await this.DialogService.ShowMessageBoxAsync(this.T("Assistant Audit"), $"{blockedAudit.Level.Name}: {blockedAudit.Summary}", this.T("Close"));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -168,8 +168,8 @@ public partial class Plugins : MSGComponentBase
|
||||
string.Format(
|
||||
this.T("The assistant plugin '{0}' was audited with the level '{1}', which is below the required minimum level '{2}'. Your current settings allow activation anyway, but this may be potentially dangerous. Do you really want to enable this plugin?"),
|
||||
pluginName,
|
||||
actualLevel.GetName(),
|
||||
this.AssistantPluginAuditSettings.MinimumLevel.GetName())
|
||||
actualLevel.Name,
|
||||
this.AssistantPluginAuditSettings.MinimumLevel.Name)
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user