mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-11 19:07:22 +00:00
Added confirmed work states to the BeyondFacts Lab (#1182)
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user