Skip to content

Commit

Permalink
Fixed a bug where the reset function could lead to undesired behavior (
Browse files Browse the repository at this point in the history
  • Loading branch information
SommerEngineering authored Aug 21, 2024
1 parent 37b38e6 commit 83fe126
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions app/MindWork AI Studio/Assistants/AssistantBase.razor
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions app/MindWork AI Studio/wwwroot/changelog/v0.8.11.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 83fe126

Please sign in to comment.