Update Status, Power now look nice, also shows est refuel time
Status now shows alerts when taking damage JournalService support more journals Added enums to frontend, not quite working Added More examples to Explorer component
This commit is contained in:
parent
bd811c861c
commit
2ac1a927ca
11 changed files with 310 additions and 39 deletions
|
|
@ -10,7 +10,8 @@ public class JournalService(
|
|||
ILogger<JournalService> logger,
|
||||
IOptions<PulsarConfiguration> options,
|
||||
IEventHubContext hub,
|
||||
PulsarContext context
|
||||
PulsarContext context,
|
||||
IServiceProvider serviceProvider
|
||||
) : IJournalService
|
||||
{
|
||||
public string FileName => FileHandlerService.JournalLogFileName;
|
||||
|
|
@ -32,7 +33,7 @@ public class JournalService(
|
|||
new JsonSerializerOptions
|
||||
{
|
||||
PropertyNameCaseInsensitive = true,
|
||||
Converters = { new JournalConverter(logger) }
|
||||
Converters = { ActivatorUtilities.CreateInstance<JournalConverter>(serviceProvider) }
|
||||
}));
|
||||
|
||||
foreach (var journal in select)
|
||||
|
|
|
|||
Loading…
Reference in a new issue