1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-24 11:55:50 +01:00

user canAccessPremium checks

This commit is contained in:
Kyle Spearrin 2018-08-28 23:17:34 -04:00
parent b118a614be
commit 23e94b7275
2 changed files with 5 additions and 3 deletions

2
jslib

@ -1 +1 @@
Subproject commit 45da8aa9eb4dd7e12c9fa67ed09189bc4d5ed2f1
Subproject commit 81c21418ec965221b4d322008f9da0ab7b9037d0

View File

@ -17,6 +17,7 @@ import { I18nService } from 'jslib/abstractions/i18n.service';
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
import { TokenService } from 'jslib/abstractions/token.service';
import { TotpService } from 'jslib/abstractions/totp.service';
import { UserService } from 'jslib/abstractions/user.service';
import { BroadcasterService } from 'jslib/angular/services/broadcaster.service';
@ -36,9 +37,10 @@ export class ViewComponent extends BaseViewComponent implements OnChanges {
cryptoService: CryptoService, platformUtilsService: PlatformUtilsService,
i18nService: I18nService, analytics: Angulartics2,
auditService: AuditService, broadcasterService: BroadcasterService,
ngZone: NgZone, changeDetectorRef: ChangeDetectorRef) {
ngZone: NgZone, changeDetectorRef: ChangeDetectorRef,
userService: UserService) {
super(cipherService, totpService, tokenService, toasterService, cryptoService, platformUtilsService,
i18nService, analytics, auditService, window, broadcasterService, ngZone, changeDetectorRef);
i18nService, analytics, auditService, window, broadcasterService, ngZone, changeDetectorRef, userService);
}
async ngOnChanges() {