From 59b8014c693060ed54069771cd169700de78e8d3 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 2 Mar 2018 08:49:40 -0500 Subject: [PATCH] default options to show if match has a value set --- jslib | 2 +- src/app/vault/add-edit.component.html | 2 +- src/app/vault/add-edit.component.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jslib b/jslib index 20389402fc..dc0befc9be 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 20389402fc6610ffeaa003cfc663a41dc1061100 +Subproject commit dc0befc9be805af687328b7f28c25f840b2aa733 diff --git a/src/app/vault/add-edit.component.html b/src/app/vault/add-edit.component.html index bf690c8934..e99fa8c785 100644 --- a/src/app/vault/add-edit.component.html +++ b/src/app/vault/add-edit.component.html @@ -194,7 +194,7 @@ {{'autofillDetection' | i18n}} {{(i + 1)}} diff --git a/src/app/vault/add-edit.component.ts b/src/app/vault/add-edit.component.ts index b911e636ba..0133399ccc 100644 --- a/src/app/vault/add-edit.component.ts +++ b/src/app/vault/add-edit.component.ts @@ -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() {