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:
parent
02af0fed4c
commit
217e081859
@ -75,7 +75,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="box">
|
<div class="box" *ngIf="!comingFromAddEdit">
|
||||||
<div class="box-content">
|
<div class="box-content">
|
||||||
<div class="box-content-row" role="radiogroup" aria-labelledby="typeHeading">
|
<div class="box-content-row" role="radiogroup" aria-labelledby="typeHeading">
|
||||||
<label id="typeHeading" class="radio-header">{{
|
<label id="typeHeading" class="radio-header">{{
|
||||||
@ -90,7 +90,6 @@
|
|||||||
[value]="o.value"
|
[value]="o.value"
|
||||||
(change)="typeChanged()"
|
(change)="typeChanged()"
|
||||||
[checked]="type === o.value"
|
[checked]="type === o.value"
|
||||||
[disabled]="comingFromAddEdit && type !== o.value"
|
|
||||||
/>
|
/>
|
||||||
<label for="type_{{ o.value }}">
|
<label for="type_{{ o.value }}">
|
||||||
{{ o.name }}
|
{{ o.name }}
|
||||||
|
@ -70,7 +70,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="box">
|
<div class="box" *ngIf="!comingFromAddEdit">
|
||||||
<div class="box-content condensed">
|
<div class="box-content condensed">
|
||||||
<div
|
<div
|
||||||
class="box-content-row box-content-row-radio"
|
class="box-content-row box-content-row-radio"
|
||||||
@ -95,7 +95,6 @@
|
|||||||
[value]="o.value"
|
[value]="o.value"
|
||||||
(change)="typeChanged()"
|
(change)="typeChanged()"
|
||||||
[checked]="type === o.value"
|
[checked]="type === o.value"
|
||||||
[disabled]="comingFromAddEdit && type !== o.value"
|
|
||||||
/>
|
/>
|
||||||
<label class="unstyled" for="type_{{ o.value }}">
|
<label class="unstyled" for="type_{{ o.value }}">
|
||||||
{{ o.name }}
|
{{ o.name }}
|
||||||
|
Loading…
Reference in New Issue
Block a user