From 00a37d9d0a921baea97aa9578dd8c91da62300d5 Mon Sep 17 00:00:00 2001 From: Daniel Riera Date: Thu, 8 May 2025 17:27:12 -0400 Subject: [PATCH] PM-21318 Org member with Manage collection permission getting error when saving item to org collection (#14670) * PM-21318 * Update apps/browser/src/autofill/notification/bar.ts Co-authored-by: Jonathan Prusik --------- Co-authored-by: Jonathan Prusik --- apps/browser/src/autofill/notification/bar.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/browser/src/autofill/notification/bar.ts b/apps/browser/src/autofill/notification/bar.ts index 6d4367c0b7f..4b9ba58d586 100644 --- a/apps/browser/src/autofill/notification/bar.ts +++ b/apps/browser/src/autofill/notification/bar.ts @@ -273,7 +273,7 @@ function handleSaveAction(e: Event) { if (selectedVault.length > 1) { openAddEditVaultItemPopout(e, { organizationId: selectedVault, - folder: selectedFolder, + ...(selectedFolder?.length > 1 ? { folder: selectedFolder } : {}), }); handleCloseNotification(e); return;