From 7e6f9eb67a2059b91cbe6d4863721e23903dbe13 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 13 Jul 2018 11:09:24 -0400 Subject: [PATCH] register state service --- jslib | 2 +- src/app/accounts/register.component.ts | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/jslib b/jslib index a949f499ac..9bc7459eac 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit a949f499acb28ddb1ce7197fd35c0d02df957618 +Subproject commit 9bc7459eacb55a234da8dd8aa71c059a4cd3e1ee diff --git a/src/app/accounts/register.component.ts b/src/app/accounts/register.component.ts index a63257a566..fa228d42c8 100644 --- a/src/app/accounts/register.component.ts +++ b/src/app/accounts/register.component.ts @@ -11,6 +11,7 @@ import { ApiService } from 'jslib/abstractions/api.service'; import { AuthService } from 'jslib/abstractions/auth.service'; import { CryptoService } from 'jslib/abstractions/crypto.service'; import { I18nService } from 'jslib/abstractions/i18n.service'; +import { StateService } from 'jslib/abstractions/state.service'; import { RegisterComponent as BaseRegisterComponent } from 'jslib/angular/components/register.component'; @@ -22,8 +23,9 @@ export class RegisterComponent extends BaseRegisterComponent { constructor(authService: AuthService, router: Router, analytics: Angulartics2, toasterService: ToasterService, i18nService: I18nService, cryptoService: CryptoService, - apiService: ApiService, private route: ActivatedRoute) { - super(authService, router, analytics, toasterService, i18nService, cryptoService, apiService); + apiService: ApiService, private route: ActivatedRoute, + stateService: StateService) { + super(authService, router, analytics, toasterService, i18nService, cryptoService, apiService, stateService); } ngOnInit() {