Fixed a bug where the reset function could lead to undesired behavior (#82)

This commit is contained in:
Thorsten Sommer 2024-08-21 08:59:55 +02:00 committed by GitHub
parent 37b38e6a40
commit 83fe126c9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 4 deletions

View File

@ -22,12 +22,14 @@
{
<MudProgressLinear Color="Color.Primary" Indeterminate="true" Class="mb-6" />
}
<div id="@RESULT_DIV_ID" class="mr-2 mt-3">
@if (this.ShowResult && this.resultingContentBlock is not null)
{
<ContentBlockComponent Role="@(this.resultingContentBlock.Role)" Type="@(this.resultingContentBlock.ContentType)" Time="@(this.resultingContentBlock.Time)" Content="@(this.resultingContentBlock.Content)"/>
}
</div>
@if (this.ShowResult && this.resultingContentBlock is not null)
{
<ContentBlockComponent Role="@(this.resultingContentBlock.Role)" Type="@(this.resultingContentBlock.ContentType)" Time="@(this.resultingContentBlock.Time)" Content="@(this.resultingContentBlock.Content)"/>
}
<div id="@AFTER_RESULT_DIV_ID" class="mt-3">
</div>

View File

@ -1,3 +1,4 @@
# v0.8.11, build 173
- Fixed a bug where the chats in the workspace component were not sorted by date.
- Fixed a bug where the reset function could lead to undesired behavior.
- Refactored code base to improve maintainability.