fix: a file's mode switch shows that file's mode after another attachment is removed (#32699)

This commit is contained in:
G30 2026-10-20 13:14:33 -04:00 • committed by GitHub
parent bb8d49ff31
commit a944564c20
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -246,11 +246,10 @@
loadContent();
}
$: enableFullContent = item?.context === 'full';
onMount(() => {
console.log(item);
if (item?.context === 'full') {
enableFullContent = true;
}
});
</script>