changed settings dialog to point to the empty dynamic settings dialog

This commit is contained in:
krut_ni 2026-03-03 14:41:34 +01:00
parent 8c1ba3a36b
commit 4c92fe8d2c
No known key found for this signature in database
GPG Key ID: A5C0151B4DDB172C
2 changed files with 4 additions and 3 deletions

View File

@ -167,10 +167,11 @@ public partial class AssistantDynamic : AssistantBaseCore<SettingsDialogDynamic>
}
}
// TODO
protected override bool MightPreselectValues()
{
Console.WriteLine("throw new NotImplementedException();");
// Dynamic assistants have arbitrary fields supplied via plugins, so there
// isn't a built-in settings section to prefill values. Always return
// false to keep the plugin-specified defaults.
return false;
}

View File

@ -44,7 +44,7 @@
<MudStack Row="@true" Wrap="@Wrap.Wrap" Class="mb-3">
@foreach (var assistantPlugin in this.AssistantPlugins)
{
<AssistantBlock TSettings="SettingsDialogTranslation"
<AssistantBlock TSettings="SettingsDialogDynamic"
Name="@T(assistantPlugin.AssistantTitle)"
Description="@T(assistantPlugin.Description)"
Icon="@Icons.Material.Filled.FindInPage"