mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-13 10:01:37 +00:00
Added message for no file attachments
This commit is contained in:
parent
c058bb8aa1
commit
e3244b6be0
@ -3418,6 +3418,9 @@ UI_TEXT_CONTENT["AISTUDIO::DIALOGS::RETRIEVALPROCESSDIALOG::T900713019"] = "Canc
|
|||||||
-- Embeddings
|
-- Embeddings
|
||||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::RETRIEVALPROCESSDIALOG::T951463987"] = "Embeddings"
|
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::RETRIEVALPROCESSDIALOG::T951463987"] = "Embeddings"
|
||||||
|
|
||||||
|
-- There aren’t any file attachments available right now.
|
||||||
|
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::REVIEWATTACHMENTSDIALOG::T1302493281"] = "There aren’t any file attachments available right now."
|
||||||
|
|
||||||
-- Delete
|
-- Delete
|
||||||
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::REVIEWATTACHMENTSDIALOG::T1469573738"] = "Delete"
|
UI_TEXT_CONTENT["AISTUDIO::DIALOGS::REVIEWATTACHMENTSDIALOG::T1469573738"] = "Delete"
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,16 @@
|
|||||||
<MudJustifiedText Typo="Typo.body1" Class="mb-3">
|
<MudJustifiedText Typo="Typo.body1" Class="mb-3">
|
||||||
@T("Here you can see all attached files. Files that can no longer be found (deleted, renamed, or moved) are marked with a warning icon and a strikethrough name. You can remove any attachment using the trash can icon.")
|
@T("Here you can see all attached files. Files that can no longer be found (deleted, renamed, or moved) are marked with a warning icon and a strikethrough name. You can remove any attachment using the trash can icon.")
|
||||||
</MudJustifiedText>
|
</MudJustifiedText>
|
||||||
<MudDivider/>
|
|
||||||
|
<MudDivider Class="mt-3 mb-3"/>
|
||||||
|
|
||||||
|
@if (!this.DocumentPaths.Any())
|
||||||
|
{
|
||||||
|
<MudJustifiedText Typo="Typo.body1" Class="mt-3">
|
||||||
|
@T("There aren’t any file attachments available right now.")
|
||||||
|
</MudJustifiedText>
|
||||||
|
}
|
||||||
|
|
||||||
@foreach (var filePath in this.DocumentPaths)
|
@foreach (var filePath in this.DocumentPaths)
|
||||||
{
|
{
|
||||||
@if (File.Exists(filePath))
|
@if (File.Exists(filePath))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user