Skip to content

Commit 00a37d9

Browse files
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 <[email protected]> --------- Co-authored-by: Jonathan Prusik <[email protected]>
1 parent 26ecf31 commit 00a37d9

File tree

1 file changed

+1
-1
lines changed
  • apps/browser/src/autofill/notification

1 file changed

+1
-1
lines changed

apps/browser/src/autofill/notification/bar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ function handleSaveAction(e: Event) {
273273
if (selectedVault.length > 1) {
274274
openAddEditVaultItemPopout(e, {
275275
organizationId: selectedVault,
276-
folder: selectedFolder,
276+
...(selectedFolder?.length > 1 ? { folder: selectedFolder } : {}),
277277
});
278278
handleCloseNotification(e);
279279
return;

0 commit comments

Comments
 (0)