mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-07-01 16:33:43 -04:00
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:
@ -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)
|
||||
|
Reference in New Issue
Block a user