Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update ItemAddEdit.tsx (#1695)

Leendert de Borstdbc25fdfe396
diff --git a/apps/browser-extension/src/entrypoints/popup/pages/items/ItemAddEdit.tsx b/apps/browser-extension/src/entrypoints/popup/pages/items/ItemAddEdit.tsx
index e136776ee..76af8086e 100644
--- a/apps/browser-extension/src/entrypoints/popup/pages/items/ItemAddEdit.tsx
+++ b/apps/browser-extension/src/entrypoints/popup/pages/items/ItemAddEdit.tsx
@@ -377,6 +377,12 @@ const ItemAddEdit: React.FC = () => {
} else {
// Load persisted form values normally
await loadPersistedValues();
+
+ // Also override the FolderId with the current URL param (if any).
+ setItem(prev => prev ? {
+ ...prev,
+ FolderId: folderIdParam || null
+ } : prev);
}
setLocalLoading(false);