refactor: update imports to use absolute paths
Some checks failed
CI / Get Changed Files (pull_request) Successful in 7s
CI / Checkstyle Main (pull_request) Has been skipped
CI / prettier (pull_request) Failing after 17s
CI / eslint (pull_request) Successful in 56s
CI / test-build (pull_request) Failing after 1m0s

This commit is contained in:
Jan K9f 2025-04-02 09:02:14 +02:00
parent c0b4d1c46e
commit 01989ae5bc
Signed by: jank
GPG key ID: 22BEAC760B3333D6
5 changed files with 9 additions and 10 deletions

View file

@ -1,11 +1,11 @@
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';
import { NavbarComponent } from '../../shared/components/navbar/navbar.component';
import { CurrencyPipe, NgFor } from '@angular/common';
import { Game } from '../../model/Game';
import { Transaction } from '../../model/Transaction';
import { DepositComponent } from '../deposit/deposit.component';
import { ConfirmationComponent } from '../../shared/components/confirmation/confirmation.component';
import { ActivatedRoute, Router } from '@angular/router';
import { ConfirmationComponent } from '@shared/components/confirmation/confirmation.component';
import { Transaction } from 'app/model/Transaction';
import { NavbarComponent } from '@shared/components/navbar/navbar.component';
import { Game } from 'app/model/Game';
@Component({
selector: 'app-homepage',
@ -21,7 +21,7 @@ export default class HomeComponent implements OnInit {
constructor(
public route: ActivatedRoute,
public router: Router
) {}
) { }
ngOnInit() {
this.isDepositSuccessful = this.route.snapshot.queryParams['success'] == 'true';

View file

@ -1,5 +1,4 @@
import { ChangeDetectionStrategy, Component, OnInit, OnDestroy } from '@angular/core';
import { NavbarComponent } from '../../shared/components/navbar/navbar.component';
import { NgFor } from '@angular/common';
@Component({

View file

@ -1,7 +1,7 @@
import { ChangeDetectionStrategy, Component, inject, OnInit } from '@angular/core';
import { UserService } from '../../service/user.service';
import { KeycloakService } from 'keycloak-angular';
import { Router } from '@angular/router';
import { UserService } from '@service/user.service';
@Component({
selector: 'app-login-success',

View file

@ -8,7 +8,7 @@ import {
AfterViewInit,
OnDestroy,
} from '@angular/core';
import { ModalAnimationService } from '../../services/modal-animation.service';
import { ModalAnimationService } from '@shared/services/modal-animation.service';
import gsap from 'gsap';
@Component({
@ -23,7 +23,7 @@ export class ConfirmationComponent implements AfterViewInit, OnDestroy {
@ViewChild('modalBg') modalBg!: ElementRef;
@ViewChild('modalCard') modalCard!: ElementRef;
constructor(private modalAnimationService: ModalAnimationService) {}
constructor(private modalAnimationService: ModalAnimationService) { }
ngAfterViewInit() {
if (this.successful) {

View file

@ -1,9 +1,9 @@
import { ChangeDetectionStrategy, Component, inject, OnInit, signal } from '@angular/core';
import { RouterModule } from '@angular/router';
import { KeycloakService } from 'keycloak-angular';
import { UserService } from '../../../service/user.service';
import { CurrencyPipe } from '@angular/common';
import { UserService } from '@service/user.service';
@Component({
selector: 'app-navbar',
templateUrl: './navbar.component.html',