Skip to content

Commit

Permalink
Fix reading of secrets by title (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
DBoroujerdi authored Apr 5, 2024
1 parent 0507f57 commit ba0e8ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/database/vaultContent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export const findVaultContent = (vaultContent: VaultContent, parsedPath: ParsedP
(credential) => credential.title === parsedPath.title
);
vaultContent.notes = vaultContent.notes.filter((note) => note.title === parsedPath.title);
vaultContent.secrets = vaultContent.secrets.filter((secret) => secret.title === parsedPath.title);
}

if (parsedPath.itemId) {
Expand Down

0 comments on commit ba0e8ee

Please sign in to comment.