mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-09 23:55:12 +00:00
* managementservice, authservice, change all refs * refactor grpc auth * fix references * interceptor logic * new interceptor * appinitializers, environment loader, interceptors * remove circular dep * init authconfig in grpc service * authconfig * lint * update mgmt service * fix references * update clientid, fix interceptor * rm unused authconfig * todo auth interceptor
16 lines
510 B
TypeScript
16 lines
510 B
TypeScript
import { Component } from '@angular/core';
|
|
import { GrpcAuthService } from 'src/app/services/grpc-auth.service';
|
|
|
|
@Component({
|
|
selector: 'app-home',
|
|
templateUrl: './home.component.html',
|
|
styleUrls: ['./home.component.scss'],
|
|
})
|
|
export class HomeComponent {
|
|
public dark: boolean = true;
|
|
constructor(public authService: GrpcAuthService) {
|
|
const theme = localStorage.getItem('theme');
|
|
this.dark = theme === 'dark-theme' ? true : theme === 'light-theme' ? false : true;
|
|
}
|
|
}
|