Added confirmed work states to the BeyondFacts Lab (#1182)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-10 11:27:51 +01:00
1 parent 6d0052ecdf
commit a9579dd282
39 files changed
+3160 -16

No files matched your search

@@ -32,6 +32,9 @@ public partial class BeyondFactsLabAssistant : MSGComponentBase
[Inject]
private BflMaterialService MaterialService { get; init; } = null!;
[Inject]
private BflWorkStateGenerator WorkStateGenerator { get; init; } = null!;
[Inject]
private ILogger<BeyondFactsLabAssistant> Logger { get; init; } = null!;
@@ -80,6 +83,7 @@ public partial class BeyondFactsLabAssistant : MSGComponentBase
this.ApplyFilters([], [Event.CONFIGURATION_CHANGED]);
this.MaterialService.MaterialsChanged += this.OnMaterialsChangedAsync;
this.WorkStateGenerator.WorkStateChanged += this.OnWorkStateChangedAsync;
this.mayOpen = true;
await this.RunStoreActionAsync(() => this.ReloadProjectsAsync(null));
@@ -155,6 +159,7 @@ public partial class BeyondFactsLabAssistant : MSGComponentBase
protected override void DisposeResources()
{
this.MaterialService.MaterialsChanged -= this.OnMaterialsChangedAsync;
this.WorkStateGenerator.WorkStateChanged -= this.OnWorkStateChangedAsync;
base.DisposeResources();
}