1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 10:43:35 +00:00

Revert last commit due to requested changes

Revert last commit due to requested changes.
Renamed variable.
This commit is contained in:
syntaxerror752
2020-05-30 10:21:42 +10:00
parent 674c583881
commit f36bba6406
19 changed files with 27 additions and 56 deletions

View File

@@ -5,7 +5,6 @@ import {
import { ActivatedRoute } from '@angular/router';
import { UserService } from 'jslib/abstractions/user.service';
import { StorageService } from 'jslib/abstractions/storage.service';
import { Organization } from 'jslib/models/domain/organization';
@@ -18,13 +17,11 @@ export class ManageComponent implements OnInit {
accessPolicies = false;
accessGroups = false;
accessEvents = false;
scaleUIWidth: boolean = false;
constructor(private route: ActivatedRoute, private userService: UserService, private storageService: StorageService) { }
constructor(private route: ActivatedRoute, private userService: UserService) { }
ngOnInit() {
this.route.parent.params.subscribe(async (params) => {
this.scaleUIWidth = await this.storageService.get<boolean>('enableUIScaling');
this.organization = await this.userService.getOrganization(params.organizationId);
this.accessPolicies = this.organization.usePolicies;
this.accessEvents = this.organization.useEvents;