1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-22 12:24:01 +00:00

[PM-18721] add ChangePasswordDelegation logic to InputPasswordComponent submit method

This commit is contained in:
rr-bw
2025-05-04 22:31:17 -07:00
parent c428a4078a
commit 434c92077d
6 changed files with 37 additions and 17 deletions

View File

@@ -122,7 +122,11 @@
</bit-label>
</bit-form-control>
<div class="tw-flex tw-gap-2" [ngClass]="inlineButtons ? 'tw-flex-row' : 'tw-flex-col'">
<div
*ngIf="flow !== InputPasswordFlow.ChangePasswordDelegation"
class="tw-flex tw-gap-2"
[ngClass]="inlineButtons ? 'tw-flex-row' : 'tw-flex-col'"
>
<button type="submit" bitButton bitFormButton buttonType="primary" [loading]="loading">
{{ primaryButtonTextStr || ("setMasterPassword" | i18n) }}
</button>