mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-24 11:55:50 +01:00
default options to show if match has a value set
This commit is contained in:
parent
295068a30c
commit
59b8014c69
2
jslib
2
jslib
@ -1 +1 @@
|
||||
Subproject commit 20389402fc6610ffeaa003cfc663a41dc1061100
|
||||
Subproject commit dc0befc9be805af687328b7f28c25f840b2aa733
|
@ -194,7 +194,7 @@
|
||||
{{'autofillDetection' | i18n}} {{(i + 1)}}
|
||||
</label>
|
||||
<select id="loginUriMatch{{i}}" name="Login.Uris[{{i}}].Match" [(ngModel)]="u.match"
|
||||
[hidden]="!u.showOptions">
|
||||
[hidden]="u.showOptions === false || (u.showOptions == null && u.match == null)">
|
||||
<option *ngFor="let o of uriMatchOptions" [ngValue]="o.value">{{o.name}}</option>
|
||||
</select>
|
||||
</div>
|
||||
|
@ -258,7 +258,7 @@ export class AddEditComponent implements OnChanges {
|
||||
|
||||
toggleUriOptions(uri: LoginUriView) {
|
||||
const u = (uri as any);
|
||||
u.showOptions = !u.showOptions;
|
||||
u.showOptions = u.showOptions == null && uri.match != null ? false : !u.showOptions;
|
||||
}
|
||||
|
||||
async checkPassword() {
|
||||
|
Loading…
Reference in New Issue
Block a user