1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-22 16:29:09 +01:00

Hide generator type radio options when the generator is opened from an add/edit page (#6240)

This commit is contained in:
Shane Melton 2023-09-21 08:37:52 -07:00 committed by GitHub
parent 02af0fed4c
commit 217e081859
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -75,7 +75,7 @@
</button>
</div>
</div>
<div class="box">
<div class="box" *ngIf="!comingFromAddEdit">
<div class="box-content">
<div class="box-content-row" role="radiogroup" aria-labelledby="typeHeading">
<label id="typeHeading" class="radio-header">{{
@ -90,7 +90,6 @@
[value]="o.value"
(change)="typeChanged()"
[checked]="type === o.value"
[disabled]="comingFromAddEdit && type !== o.value"
/>
<label for="type_{{ o.value }}">
{{ o.name }}

View File

@ -70,7 +70,7 @@
</button>
</div>
</div>
<div class="box">
<div class="box" *ngIf="!comingFromAddEdit">
<div class="box-content condensed">
<div
class="box-content-row box-content-row-radio"
@ -95,7 +95,6 @@
[value]="o.value"
(change)="typeChanged()"
[checked]="type === o.value"
[disabled]="comingFromAddEdit && type !== o.value"
/>
<label class="unstyled" for="type_{{ o.value }}">
{{ o.name }}