mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-01 21:10:49 +08:00
[PM-26974] Add reprompt check when deleting ciphers in browser extension (#16907)
* Add reprompt check when deleting ciphers in browser extension * RE-use existing remprompt check function.
This commit is contained in:
parent
7804aa118c
commit
740fe0787f
@ -267,6 +267,11 @@ export class ItemMoreOptionsComponent {
|
||||
}
|
||||
|
||||
protected async delete() {
|
||||
const repromptPassed = await this.passwordRepromptService.passwordRepromptCheck(this.cipher);
|
||||
if (!repromptPassed) {
|
||||
return;
|
||||
}
|
||||
|
||||
const confirmed = await this.dialogService.openSimpleDialog({
|
||||
title: { key: "deleteItem" },
|
||||
content: { key: "deleteItemConfirmation" },
|
||||
|
||||
Loading…
Reference in New Issue
Block a user