A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: check select all checkbox when all attachments are selected
Abdullah Atta7d9388bd27b3
diff --git a/apps/web/src/dialogs/attachments-dialog.tsx b/apps/web/src/dialogs/attachments-dialog.tsxindex 19bc81c0d..86e65d4ac 100644--- a/apps/web/src/dialogs/attachments-dialog.tsx+++ b/apps/web/src/dialogs/attachments-dialog.tsx@@ -254,7 +254,14 @@ export const AttachmentsDialog = DialogManager.register(><Label><Checkbox- sx={{ width: 18, height: 18 }}+ sx={{+ width: 18,+ height: 18,+ color:+ selected.length === attachments.length+ ? "accent"+ : "icon"+ }}onChange={async (e) => {setSelected(e.currentTarget.checked@@ -264,6 +271,7 @@ export const AttachmentsDialog = DialogManager.register(: []);}}+ checked={selected.length === attachments.length}/></Label></Text>