Auto-formatted every file to keep everything consistent.

This commit is contained in:
Tom
2025-03-18 14:03:07 +00:00
parent 74b282ccfd
commit 9201f9b6c5
91 changed files with 14891 additions and 14767 deletions

View File

@ -5,29 +5,29 @@ import { Subscription } from 'rxjs';
import { environment } from '../../../environments/environment';
@Component({
selector: 'login',
standalone: true,
imports: [MatCardModule, RouterModule],
templateUrl: './login.component.html',
styleUrl: './login.component.scss'
selector: 'login',
standalone: true,
imports: [MatCardModule, RouterModule],
templateUrl: './login.component.html',
styleUrl: './login.component.scss'
})
export class LoginComponent implements OnInit, OnDestroy {
subscription: Subscription | null;
subscription: Subscription | null;
constructor(private router: Router) {
this.subscription = null;
}
constructor(private router: Router) {
this.subscription = null;
}
ngOnInit(): void {
}
ngOnInit(): void {
ngOnDestroy(): void {
if (this.subscription)
this.subscription.unsubscribe()
}
}
login() {
document.location.replace(environment.API_HOST + '/auth');
}
ngOnDestroy(): void {
if (this.subscription)
this.subscription.unsubscribe()
}
login() {
document.location.replace(environment.API_HOST + '/auth');
}
}