feat(slots): add slot machine component with styling and logic #170

Merged
jleibl merged 9 commits from task/CAS-44/lootbox-selection into main 2025-05-07 16:10:05 +00:00
2 changed files with 2 additions and 9 deletions
Showing only changes of commit 98668a3fb0 - Show all commits

View file

@ -61,7 +61,7 @@ export default class SlotsComponent implements OnInit, OnDestroy {
this.slotInfo.set(data);
});
this.userSubscription = this.userService.currentUser$.subscribe((user) => {
this.userSubscription = this.userService.getCurrentUser().subscribe((user) => {
this.balance.set(user?.balance ?? 0);
});

View file

@ -1,11 +1,4 @@
import {
ChangeDetectionStrategy,
Component,
EventEmitter,
inject,
Input,
Output,
} from '@angular/core';
import { ChangeDetectionStrategy, Component, EventEmitter, inject, Input, Output } from '@angular/core';
import { TransactionService } from '@service/transaction.service';
import { Observable } from 'rxjs';
import { AsyncPipe, CurrencyPipe, DatePipe, NgIf } from '@angular/common';