mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 21:47:22 +00:00
Allowed moving local data sources without embedding them again (#1091)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
f6e48e95f3
commit
5d6e48ef93
49 files changed
+2280
-297
No files matched your search
@@ -296,7 +296,7 @@
|
||||
@*
|
||||
What the user has to decide comes with the buttons to decide it. The
|
||||
sentence above says what is at stake; reading it and then having to find
|
||||
the settings of the mailbox is where people give up.
|
||||
the settings of the mailbox or the data source is where people give up.
|
||||
*@
|
||||
@if (status.Attention is DataSourceAttention.AUTH_FAILED)
|
||||
{
|
||||
@@ -320,6 +320,14 @@
|
||||
</MudButton>
|
||||
</MudStack>
|
||||
}
|
||||
else if (status.Attention is DataSourceAttention.LOCATION_UNREACHABLE && this.CanEditDataSource(status))
|
||||
{
|
||||
<MudStack Row="@true" Wrap="Wrap.Wrap" Spacing="2">
|
||||
<MudButton Variant="Variant.Filled" Color="Color.Primary" StartIcon="@Icons.Material.Filled.Edit" OnClick="@(async () => await this.EditDataSource(status))">
|
||||
@T("Edit this data source")
|
||||
</MudButton>
|
||||
</MudStack>
|
||||
}
|
||||
</MudStack>
|
||||
</ChildContent>
|
||||
</MudExpansionPanel>
|
||||
|
||||
Reference in new issue
Block a user