Skip to content

Commit

Permalink
fix missing domain name
Browse files Browse the repository at this point in the history
  • Loading branch information
pgiertych committed Mar 26, 2024
1 parent aefba80 commit 26d47e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/shared/users/privileges/userprivileges.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ export class UserPrivilegesComponent extends BaseComponent implements OnInit {
this.domainService.getOne(domainId).subscribe((domain) => this.domains.push(domain));
});
}
this.getAllDomain();
this.getMyDomains();
}

public getAllDomain() {
this.domainService.getAll().subscribe(domains => {
public getMyDomains() {
this.domainService.getMyDomains().subscribe(domains => {
domains.forEach(domain => {
if (!this.domainCache.hasData(domain.id)) {
this.domainCache.setData(domain.id, domain)
Expand Down

0 comments on commit 26d47e6

Please sign in to comment.