Many fix and improvements

This commit is contained in:
Jonathan Bourdon
2024-08-03 04:15:55 -04:00
parent 0d94d79c77
commit 78ead7e387
37 changed files with 669 additions and 735 deletions

View File

@@ -59,7 +59,6 @@ onBeforeMount(async () => {
await load({
page_size: 2,
done: function (status) {
console.log(`Loading status: ${status}`)
}
})
})
@@ -71,8 +70,7 @@ async function load({done, page_size}) {
try {
let uri = `/api/messages/${props.subjectId}?page_size=${page_size}`
if (last_id !== null) uri = uri + `&last_id=${last_id}`
console.log(`Fetching messages at: ${uri}`)
const response = await client.get(uri)
if (response.status >= 200 && response.status < 300) {