fix: apply the knowledge File content filter on the first click (#30211)

This commit is contained in:
G30 2026-09-21 11:30:42 -04:00 • committed by GitHub
parent 9fba2843b1
commit 4b61b86a83
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1435,13 +1435,7 @@
currentPage = 1;
}}
>
<Checkbox
state={includeContent ? 'checked' : 'unchecked'}
on:change={(e) => {
includeContent = e.detail === 'checked';
currentPage = 1;
}}
/>
<Checkbox state={includeContent ? 'checked' : 'unchecked'} />
{$i18n.t('File content')}
</button>
</DropdownMenu>