modif conflix

This commit is contained in:
ExostFlash 2025-06-03 09:03:09 +02:00
parent 39de6138d6
commit b7b7539a79
2 changed files with 2 additions and 5 deletions

View file

@ -1,8 +1,6 @@
import { Component } from '@angular/core';
import { MatchesService } from '@services/matches/matches.service';
<<<<<<< HEAD
=======
import { Matches, MatchState } from '@interfaces/matches';
import { PlayerService } from '@services/player/player.service';
@ -10,7 +8,6 @@ import { Player } from '@interfaces/player';
import { RefereeService } from '@services/referee/referee.service';
import { Referee, RefereeLevel } from '@interfaces/referee';
>>>>>>> feature/front
@Component({
selector: 'app-home',

View file

@ -1,5 +1,5 @@
import { Injectable } from '@angular/core';
import { Observable, Subject, BehaviorSubject } from 'rxjs';
import { Observable, Subject, BehaviorSubject, of } from 'rxjs';
import { Matches, MatchState } from '@interfaces/matches';
@Injectable({ providedIn: 'root' })
@ -123,7 +123,7 @@ export class MatchesService {
ngOnDestroy(): void {
this.socket?.close();
}
create(match: Omit<Matches, 'id'>): Observable<Matches> {
const newMatch: Matches = {
...match,