mirror of
https://github.com/marcominerva/SqlDatabaseVectorSearch.git
synced 2026-06-20 12:23:10 +00:00
Improve layout and readability in Documents.razor
- Wrapped checkbox input in a div for better alignment. - Changed documents initialization from an empty array to a list. - Updated document addition code for improved readability. - Modified ConfirmDialogOptions and ToastMessage initializations to use object initializer syntax. - Translated comment in DocxContentDecoder.cs from Italian to English.
This commit is contained in:
@@ -76,7 +76,9 @@ else
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
<div class="d-flex justify-content-center align-items-center">
|
||||
<CheckboxInput @bind-Value="document.IsSelected" />
|
||||
</div>
|
||||
</td>
|
||||
<td>@document.Id</td>
|
||||
<td>@document.Name</td>
|
||||
|
||||
@@ -36,7 +36,7 @@ public class DocxContentDecoder(IServiceProvider serviceProvider) : IContentDeco
|
||||
pageBuilder.AppendLine(paragraph.InnerText);
|
||||
}
|
||||
|
||||
// Dopo aver processato tutti i paragrafi, aggiungi l'ultima pagina (anche se vuota)
|
||||
// After processing all paragraphs, add the last page (even if empty).
|
||||
pages.Add(pageBuilder.ToString());
|
||||
|
||||
var chunks = new List<Chunk>();
|
||||
|
||||
Reference in New Issue
Block a user