Check for null cipher in edit (#1656)
This commit is contained in:
parent
81c6a4b1df
commit
136e8897ae
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue