Defines base implementation for Result, with samples.

This commit is contained in:
BinaryAlley committed 2026-08-13 14:18:41 -07:00
1 parent c86893a0cf
commit 8fe90a4dde
20 files changed
+538 -7

No files matched your search

@@ -45,10 +45,8 @@ public class PluginsController : Controller
// load the settings of the loaded plugins, so that the settings forms can be rendered on the server
Dictionary<Guid, PluginSettingsModel> settingsByPluginId = [];
foreach (PluginModel plugin in plugins)
{
if (plugin.LoadStatus == PluginLoadStatus.Loaded)
settingsByPluginId[plugin.Id] = await _apiHttpClient.GetAsync<PluginSettingsModel>($"plugins/{plugin.Id}/settings", cancellationToken).ConfigureAwait(false);
}
ViewData["pluginSettings"] = settingsByPluginId;
return View(plugins);