style(navbar): format import statements and arrow function
All checks were successful
CI / Get Changed Files (pull_request) Successful in 7s
CI / Checkstyle Main (pull_request) Has been skipped
CI / Docker backend validation (pull_request) Successful in 9s
CI / oxlint (pull_request) Successful in 24s
CI / Docker frontend validation (pull_request) Successful in 37s
CI / eslint (pull_request) Successful in 29s
CI / prettier (pull_request) Successful in 28s
CI / test-build (pull_request) Successful in 31s
All checks were successful
CI / Get Changed Files (pull_request) Successful in 7s
CI / Checkstyle Main (pull_request) Has been skipped
CI / Docker backend validation (pull_request) Successful in 9s
CI / oxlint (pull_request) Successful in 24s
CI / Docker frontend validation (pull_request) Successful in 37s
CI / eslint (pull_request) Successful in 29s
CI / prettier (pull_request) Successful in 28s
CI / test-build (pull_request) Successful in 31s
This commit is contained in:
parent
db6bf4f199
commit
88c2f49b03
1 changed files with 9 additions and 2 deletions
|
@ -1,4 +1,11 @@
|
|||
import { ChangeDetectionStrategy, Component, inject, OnDestroy, OnInit, signal } from '@angular/core';
|
||||
import {
|
||||
ChangeDetectionStrategy,
|
||||
Component,
|
||||
inject,
|
||||
OnDestroy,
|
||||
OnInit,
|
||||
signal,
|
||||
} from '@angular/core';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { AuthService } from '@service/auth.service';
|
||||
import { Subscription } from 'rxjs';
|
||||
|
@ -21,7 +28,7 @@ export class NavbarComponent implements OnInit, OnDestroy {
|
|||
|
||||
ngOnInit() {
|
||||
this.authSubscription = this.authService.userSubject.subscribe({
|
||||
next: user => {
|
||||
next: (user) => {
|
||||
this.balance.set(user?.balance ?? 0);
|
||||
},
|
||||
});
|
||||
|
|
Reference in a new issue