diff --git a/jslib b/jslib index 2c87f12718..4f79addb8a 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 2c87f127185f073745daa596152ee9039032c655 +Subproject commit 4f79addb8a05fd829c4aebc5999e1cf9ba510410 diff --git a/src/app/vault/add-edit.component.ts b/src/app/vault/add-edit.component.ts index cb38f8e94b..132f94d269 100644 --- a/src/app/vault/add-edit.component.ts +++ b/src/app/vault/add-edit.component.ts @@ -11,6 +11,7 @@ import { CipherService } from 'jslib/abstractions/cipher.service'; import { FolderService } from 'jslib/abstractions/folder.service'; import { I18nService } from 'jslib/abstractions/i18n.service'; import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service'; +import { StateService } from 'jslib/abstractions/state.service'; import { AddEditComponent as BaseAddEditComponent } from 'jslib/angular/components/add-edit.component'; @@ -22,9 +23,9 @@ export class AddEditComponent extends BaseAddEditComponent implements OnChanges constructor(cipherService: CipherService, folderService: FolderService, i18nService: I18nService, platformUtilsService: PlatformUtilsService, analytics: Angulartics2, toasterService: ToasterService, - auditService: AuditService) { + auditService: AuditService, stateService: StateService) { super(cipherService, folderService, i18nService, platformUtilsService, analytics, - toasterService, auditService); + toasterService, auditService, stateService); } async ngOnChanges() { diff --git a/src/app/vault/password-generator.component.ts b/src/app/vault/password-generator.component.ts index bb9b091cb1..83756d15e6 100644 --- a/src/app/vault/password-generator.component.ts +++ b/src/app/vault/password-generator.component.ts @@ -2,9 +2,7 @@ import { ToasterService } from 'angular2-toaster'; import { Angulartics2 } from 'angulartics2'; import { - ChangeDetectorRef, Component, - NgZone, } from '@angular/core'; import { I18nService } from 'jslib/abstractions/i18n.service'; @@ -22,9 +20,7 @@ import { export class PasswordGeneratorComponent extends BasePasswordGeneratorComponent { constructor(passwordGenerationService: PasswordGenerationService, analytics: Angulartics2, platformUtilsService: PlatformUtilsService, i18nService: I18nService, - toasterService: ToasterService, ngZone: NgZone, - changeDetectorRef: ChangeDetectorRef) { - super(passwordGenerationService, analytics, platformUtilsService, i18nService, - toasterService, ngZone, changeDetectorRef); + toasterService: ToasterService) { + super(passwordGenerationService, analytics, platformUtilsService, i18nService, toasterService); } }