Skip to content
This repository was archived by the owner on Aug 29, 2022. It is now read-only.

Commit 3461872

Browse files
authored
Merge pull request #211 from navigateconsulting/convo-ui-tweaks
Convo ui tweaks
2 parents eb65734 + 8604565 commit 3461872

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

RELEASE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Bug fixes
3333
* 207 <https://github.com/navigateconsulting/eva/pull/207> changes to UI
3434
* 209 <https://github.com/navigateconsulting/eva/pull/209> Rasa version upgrade to 1.10.3
3535
* 210 <https://github.com/navigateconsulting/eva/pull/210> Spinner issue on Manage Project Page has now been resolved, earlier there was a delay in showing the spinner. Conversations Chat was not displaying the slot values earlier, now the issue is fixed.
36+
* 211 <https://github.com/navigateconsulting/eva/pull/211> Displaying Conversations In Descending Order so that the latest conversation would be displayed first in the list.
3637

3738
## Bug Fixes and Other Changes
3839

ui-trainer/src/app/conversations/conversations.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class ConversationsComponent implements OnInit, OnDestroy {
3838
getConversations() {
3939
this.apiService.requestConversations().subscribe(conversations => {
4040
if (conversations) {
41-
this.conversations_json = conversations.slice();
41+
this.conversations_json = conversations.slice().reverse();
4242
this.conversations_json_backup = JSON.parse(JSON.stringify(this.conversations_json));
4343
this.conversationsDataSource = new MatTableDataSource(this.conversations_json);
4444
this.conversationsDataSource.paginator = this.paginator;

0 commit comments

Comments
 (0)