mirror of
https://github.com/open-webui/open-webui
synced 2024-11-29 15:33:42 +00:00
add message filtering in +page.svelte to filter out deleted messages in payload 🗑️
This commit is contained in:
parent
941bcdc2e5
commit
632882a511
@ -334,7 +334,7 @@
|
||||
content: $settings.system
|
||||
}
|
||||
: undefined,
|
||||
...messages
|
||||
...messages.filter(message => !message.deleted)
|
||||
]
|
||||
.filter((message) => message)
|
||||
.map((message, idx, arr) => ({
|
||||
@ -540,7 +540,7 @@
|
||||
content: $settings.system
|
||||
}
|
||||
: undefined,
|
||||
...messages
|
||||
...messages.filter(message => !message.deleted)
|
||||
]
|
||||
.filter((message) => message)
|
||||
.map((message, idx, arr) => ({
|
||||
|
Loading…
Reference in New Issue
Block a user