Skip to content

Commit

Permalink
Quansight#391 Chat Ordering from Newest to Oldest
Browse files Browse the repository at this point in the history
  • Loading branch information
arjxn-py committed Jul 8, 2024
1 parent 9776ec5 commit 00d9c02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ragna/deploy/_ui/left_sidebar.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def refresh(self):
@pn.depends("refresh_counter", "chats", "current_chat_id", on_init=True)
def __panel__(self):
self.chat_buttons = []
for chat in self.chats:
for chat in reversed(self.chats):
button = pn.widgets.Button(
name=chat["metadata"]["name"],
css_classes=["chat_button"],
Expand Down

0 comments on commit 00d9c02

Please sign in to comment.