mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-28 06:22:33 +00:00
fix: a file's mode switch shows that file's mode after another attachment is removed (#32699)
This commit is contained in:
parent
bb8d49ff31
commit
a944564c20
1 changed files with 2 additions and 3 deletions
|
|
@ -246,11 +246,10 @@
|
|||
loadContent();
|
||||
}
|
||||
|
||||
$: enableFullContent = item?.context === 'full';
|
||||
|
||||
onMount(() => {
|
||||
console.log(item);
|
||||
if (item?.context === 'full') {
|
||||
enableFullContent = true;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue