mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-06 01:52:52 +00:00
Kept the inputs of assistants when you leave them (#1209)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
1fbc1f4796
commit
7e2f83b19b
83 files changed
+1924
-347
No files matched your search
@@ -1,3 +1,4 @@
|
||||
using AIStudio.Tools.Imports;
|
||||
using AIStudio.Tools.Media;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
@@ -7,7 +8,7 @@ public partial class MediaTranscriptionStatus
|
||||
{
|
||||
/// <summary>The surface owner whose operation is rendered.</summary>
|
||||
[Parameter]
|
||||
public MediaImportOwner Owner { get; set; }
|
||||
public ImportOwner Owner { get; set; }
|
||||
|
||||
/// <summary>Optional target filter used by embedded file controls.</summary>
|
||||
[Parameter]
|
||||
@@ -58,7 +59,7 @@ public partial class MediaTranscriptionStatus
|
||||
}
|
||||
|
||||
/// <summary>Schedules a render after an import state transition.</summary>
|
||||
private void OnStateChanged(MediaImportOwner owner)
|
||||
private void OnStateChanged(ImportOwner owner)
|
||||
{
|
||||
if (owner == this.Owner)
|
||||
this.InvokeAsync(this.StateHasChanged).Observe($"{nameof(MediaTranscriptionStatus)}: rendering an import state transition");
|
||||
|
||||
Reference in new issue
Block a user