Skip to content

Commit 83fe126

Browse files
Fixed a bug where the reset function could lead to undesired behavior (#82)
1 parent 37b38e6 commit 83fe126

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

app/MindWork AI Studio/Assistants/AssistantBase.razor

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,14 @@
2222
{
2323
<MudProgressLinear Color="Color.Primary" Indeterminate="true" Class="mb-6" />
2424
}
25+
2526
<div id="@RESULT_DIV_ID" class="mr-2 mt-3">
26-
@if (this.ShowResult && this.resultingContentBlock is not null)
27-
{
28-
<ContentBlockComponent Role="@(this.resultingContentBlock.Role)" Type="@(this.resultingContentBlock.ContentType)" Time="@(this.resultingContentBlock.Time)" Content="@(this.resultingContentBlock.Content)"/>
29-
}
3027
</div>
28+
29+
@if (this.ShowResult && this.resultingContentBlock is not null)
30+
{
31+
<ContentBlockComponent Role="@(this.resultingContentBlock.Role)" Type="@(this.resultingContentBlock.ContentType)" Time="@(this.resultingContentBlock.Time)" Content="@(this.resultingContentBlock.Content)"/>
32+
}
3133

3234
<div id="@AFTER_RESULT_DIV_ID" class="mt-3">
3335
</div>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# v0.8.11, build 173
22
- Fixed a bug where the chats in the workspace component were not sorted by date.
3+
- Fixed a bug where the reset function could lead to undesired behavior.
34
- Refactored code base to improve maintainability.

0 commit comments

Comments
 (0)