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>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
|
<div class="d-flex justify-content-center align-items-center">
|
||||||
<CheckboxInput @bind-Value="document.IsSelected" />
|
<CheckboxInput @bind-Value="document.IsSelected" />
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>@document.Id</td>
|
<td>@document.Id</td>
|
||||||
<td>@document.Name</td>
|
<td>@document.Name</td>
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ public class DocxContentDecoder(IServiceProvider serviceProvider) : IContentDeco
|
|||||||
pageBuilder.AppendLine(paragraph.InnerText);
|
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());
|
pages.Add(pageBuilder.ToString());
|
||||||
|
|
||||||
var chunks = new List<Chunk>();
|
var chunks = new List<Chunk>();
|
||||||
|
|||||||
Reference in New Issue
Block a user