Skip to content
Snippets Groups Projects
assign-user-profile-button-container.component.ts 786 B
Newer Older
  • Learn to ignore specific revisions
  • OZGCloud's avatar
    OZGCloud committed
    import { Component, Input } from '@angular/core';
    import { UserProfileService } from '@goofy-client/user-profile-shared';
    import { VorgangHeaderLinkRel, VorgangWithEingangResource } from '@goofy-client/vorgang-shared';
    
    @Component({
    	selector: 'goofy-client-assign-user-profile-button-container',
    	templateUrl: './assign-user-profile-button-container.component.html',
    	styleUrls: ['./assign-user-profile-button-container.component.scss']
    })
    export class AssignUserProfileButtonContainerComponent {
    
    	@Input() vorgang: VorgangWithEingangResource;
    
    	readonly linkRel = VorgangHeaderLinkRel;
    
    	constructor(private userProfileService: UserProfileService) { }
    
    	showUserProfileSearch(): void {
    
    		document.documentElement.scrollTop = 0;
    		this.userProfileService.showUserProfileSearch()
    
    OZGCloud's avatar
    OZGCloud committed
    	}