Discussions are sorted in reverse now

This commit is contained in:
Saifeddine ALOUI 2023-05-22 20:07:48 +02:00
parent 0bae01373d
commit 4d29764876
4 changed files with 6 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
web/dist/index.html vendored
View File

@ -6,8 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GPT4All - WEBUI</title> <title>GPT4All - WEBUI</title>
<script type="module" crossorigin src="/assets/index-71796173.js"></script> <script type="module" crossorigin src="/assets/index-539030cf.js"></script>
<link rel="stylesheet" href="/assets/index-31b0e39d.css"> <link rel="stylesheet" href="/assets/index-5bbfa0a8.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>

View File

@ -692,6 +692,8 @@ export default {
} }
return newItem return newItem
}).sort(function(a,b){
return b.id - a.id
}) })
this.list = newDisList this.list = newDisList
this.tempList = newDisList this.tempList = newDisList