mirror of
https://github.com/bitwarden/web
synced 2025-12-06 00:03:28 +00:00
Check for null cipher in edit (#1656)
This commit is contained in:
@@ -352,7 +352,7 @@ export class IndividualVaultComponent implements OnInit, OnDestroy {
|
||||
|
||||
async editCipherId(id: string) {
|
||||
const cipher = await this.cipherService.get(id);
|
||||
if (cipher.reprompt != 0) {
|
||||
if (cipher != null && cipher.reprompt != 0) {
|
||||
if (!(await this.passwordRepromptService.showPasswordPrompt())) {
|
||||
this.go({ cipherId: null });
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user