Skip to content
Snippets Groups Projects
Select Git revision
  • b4883c4a20a90fe0e54f47e5a0571df284de772b
  • main default protected
  • OZG-8073-date-component
  • OZG-7856_schadcode_scanner
  • OZG-7985-Statistik-Datenfreigabe
  • OZG-8305-Create-webpack-sbom
  • tooltip-improvements
  • ods-remove-class-inputs
  • release-info
  • release-administration
  • release
  • OZG-7714-UpgradeKeycloakDependencyTo25
  • OZG-8086-Admin-Datenanfrage-erstellen
  • OZG-8086-Datenanfrage-Umbenennung
  • mongodb-7-0-16-e2e
  • OZG-6220-Bescheid-speichern-ohne-Postfach
  • OZG-7922-KeycloakOperatorExceptions
  • OZG-8142-poc-cards
  • OZG-8086-E2E
  • OZG-8086-E2E2
  • OZG-8142-ProjectionStuff
  • 1.11.0-info
  • 1.11.0-administration
  • 2.26.0-alfa
  • 1.10.0-info
  • 1.10.0-administration
  • 2.25.0-alfa
  • 1.9.0-info
  • 1.9.0-administration
  • 2.24.0-alfa
  • 1.8.0-info
  • 1.8.0-administration
  • 2.23.0-alfa
  • 1.7.0-info
  • 1.7.0-administration
  • 2.22.0-alfa
  • 1.6.0-info
  • 1.6.0-administration
  • 2.21.0-alfa
  • 1.5.0-info
  • 1.5.0-administration
41 results

helper.ts

Blame
  • user-profile.button-container.component.ts 730 B
    import { Component, OnInit } from '@angular/core';
    import { AuthenticationService } from 'libs/authentication/src/lib/authentication.service';
    
    @Component({
      selector: 'user-profile-button-container',
      templateUrl: './user-profile-button-container.component.html',
      styleUrls: ['./user-profile-button-container.component.scss'],
    })
    export class UserProfileButtonContainerComponent implements OnInit {
      public currentUserInitials: string;
    
      constructor(public authenticationService: AuthenticationService) {}
    
      ngOnInit(): void {
        this.currentUserInitials = this.authenticationService.getCurrentUserInitials();
      }
    
      public showDropDown(): void {
        document.getElementById('myDropdown').classList.toggle('show');
      }
    }