1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-04 09:33:27 +00:00

[PM-23788] changed the getType for canClone to address new cipherLike (#15829)

This commit is contained in:
Jason Ng
2025-07-30 08:54:45 -04:00
committed by GitHub
parent f079d79426
commit 2e6977e98c
2 changed files with 2 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ export class ItemMoreOptionsComponent {
switchMap(([c, restrictedTypes]) => {
// This will check for restrictions from org policies before allowing cloning.
const isItemRestricted = restrictedTypes.some(
(restrictType) => restrictType.cipherType === c.type,
(restrictType) => restrictType.cipherType === CipherViewLikeUtils.getType(c),
);
if (!isItemRestricted) {
return this.cipherAuthorizationService.canCloneCipher$(c);