diff --git a/app/MindWork AI Studio/Dialogs/ReviewAttachmentsDialog.razor b/app/MindWork AI Studio/Dialogs/ReviewAttachmentsDialog.razor index 7a1a784c..db29bebb 100644 --- a/app/MindWork AI Studio/Dialogs/ReviewAttachmentsDialog.razor +++ b/app/MindWork AI Studio/Dialogs/ReviewAttachmentsDialog.razor @@ -10,60 +10,62 @@ @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.") - + - - @if (!this.DocumentPaths.Any()) - { - - @T("There aren’t any file attachments available right now.") - - } - @foreach (var filePath in this.DocumentPaths) - { - @if (File.Exists(filePath)) +
+ @if (!this.DocumentPaths.Any()) { - - - - - - @Path.GetFileName(filePath) - - - - - - - - - + + @T("There aren't any file attachments available right now.") + } - else + + @foreach (var filePath in this.DocumentPaths) { - - - - - - @Path.GetFileName(filePath) - - - - - + @if (File.Exists(filePath)) + { + + + + + + @Path.GetFileName(filePath) + + + + + - - + + + + } + else + { + + + + + + @Path.GetFileName(filePath) + + + + + + + + + } } - } +