diff --git a/jslib b/jslib index 22c12cf5c4..a7a58ae8f3 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 22c12cf5c4cc1c00792a9717fbb3d85fc53bed99 +Subproject commit a7a58ae8f306fad1f72110754ed9cccf19fee482 diff --git a/package.json b/package.json index c4122c49f5..f3ce3c1aa1 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,6 @@ "@ngtools/webpack": "1.10.2", "@types/chrome": "0.0.51", "@types/jasmine": "^2.8.2", - "@types/jquery": "^3.2.16", "@types/lunr": "2.1.5", "@types/mousetrap": "^1.6.0", "@types/node": "8.0.19", @@ -68,8 +67,7 @@ "tslint": "^5.9.1", "tslint-loader": "^3.5.3", "typescript": "^2.7.1", - "webpack": "^3.10.0", - "webpack-merge": "^4.1.0" + "webpack": "^3.10.0" }, "dependencies": { "@angular/animations": "5.2.0", diff --git a/src/popup/app.module.ts b/src/popup/app.module.ts index d0c32dd3a4..202beb7963 100644 --- a/src/popup/app.module.ts +++ b/src/popup/app.module.ts @@ -49,6 +49,7 @@ import { FallbackSrcDirective } from 'jslib/angular/directives/fallback-src.dire import { InputVerbatimDirective } from 'jslib/angular/directives/input-verbatim.directive'; import { StopClickDirective } from 'jslib/angular/directives/stop-click.directive'; import { StopPropDirective } from 'jslib/angular/directives/stop-prop.directive'; +import { TrueFalseValueDirective } from 'jslib/angular/directives/true-false-value.directive'; import { I18nPipe } from 'jslib/angular/pipes/i18n.pipe'; import { SearchCiphersPipe } from 'jslib/angular/pipes/search-ciphers.pipe'; @@ -112,6 +113,7 @@ import { IconComponent } from 'jslib/angular/components/icon.component'; StopPropDirective, SyncComponent, TabsComponent, + TrueFalseValueDirective, TwoFactorOptionsComponent, TwoFactorComponent, ViewComponent, diff --git a/src/popup/vault/add-edit.component.html b/src/popup/vault/add-edit.component.html index 3733bed823..e7811970e9 100644 --- a/src/popup/vault/add-edit.component.html +++ b/src/popup/vault/add-edit.component.html @@ -285,7 +285,8 @@ *ngIf="f.type === fieldType.Hidden" placeholder="{{'value' | i18n}}"> + [(ngModel)]="f.value" *ngIf="f.type === fieldType.Boolean" + appTrueFalseValue trueValue="true" falseValue="false">