Skip to content
Snippets Groups Projects
Commit d9f4ed61 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-400 fix build

parent 9f35e893
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,12 @@ export class AssignUserProfileButtonContainerComponent {
constructor(private userProfileService: UserProfileService) { }
showUserProfileSearch(): void {
document.getElementsByClassName('l-scroll-area')[0].scrollTop = 0; // TODO bessere loesung finden
this.scrollToTop(); // TODO bessere loesung finden
this.userProfileService.showUserProfileSearch();
}
scrollToTop(): void {
const elem = document.getElementsByClassName('l-scroll-area')[0];
if (elem) elem.scrollTop = 0;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment