Correct the regression from the pull request #5
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details

pull/5/head
Colin FRIZOT 1 year ago
parent 0466bdcfe8
commit 21b71ee473

@ -7,31 +7,19 @@ import {ThemeService} from "../../services/theme.service";
templateUrl: './header.component.html',
styleUrls: ['./header.component.scss']
})
export class HeaderComponent implements OnInit {
title!: string;
version!: string;
sandkasten_logo!: string;
gitea_logo!: string;
isMenuOpen!: boolean;
isCheck!: boolean;
export class HeaderComponent {
title: string = 'Sandkasten';
version: string = '1.0';
sandkasten_logo: string = 'assets/img/logo.png';
isMenuOpen: boolean = false;
isCheck: boolean = false;
@ViewChild('menuRef') menuRef!: ElementRef;
@Input() themeClass!: string;
@Input() themeService!: ThemeService;
ngOnInit(): void {
this.title = 'Sandkasten';
this.version = '1.0';
this.sandkasten_logo = 'assets/img/logo.png';
this.gitea_logo = 'assets/img/gitea.png';
this.isMenuOpen = false;
this.isCheck = false;
}
// Instanciation du service pour les actions de traduction
constructor(private translationService: TranslationService) {}
constructor(private translationService: TranslationService) {
}
// Méthode pour changer la langue
onLanguageChange(event: any) {

Loading…
Cancel
Save