modif conflix
This commit is contained in:
parent
39de6138d6
commit
b7b7539a79
2 changed files with 2 additions and 5 deletions
|
|
@ -1,8 +1,6 @@
|
||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
import { MatchesService } from '@services/matches/matches.service';
|
import { MatchesService } from '@services/matches/matches.service';
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
import { Matches, MatchState } from '@interfaces/matches';
|
import { Matches, MatchState } from '@interfaces/matches';
|
||||||
|
|
||||||
import { PlayerService } from '@services/player/player.service';
|
import { PlayerService } from '@services/player/player.service';
|
||||||
|
|
@ -10,7 +8,6 @@ import { Player } from '@interfaces/player';
|
||||||
|
|
||||||
import { RefereeService } from '@services/referee/referee.service';
|
import { RefereeService } from '@services/referee/referee.service';
|
||||||
import { Referee, RefereeLevel } from '@interfaces/referee';
|
import { Referee, RefereeLevel } from '@interfaces/referee';
|
||||||
>>>>>>> feature/front
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-home',
|
selector: 'app-home',
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
import { Observable, Subject, BehaviorSubject } from 'rxjs';
|
import { Observable, Subject, BehaviorSubject, of } from 'rxjs';
|
||||||
import { Matches, MatchState } from '@interfaces/matches';
|
import { Matches, MatchState } from '@interfaces/matches';
|
||||||
|
|
||||||
@Injectable({ providedIn: 'root' })
|
@Injectable({ providedIn: 'root' })
|
||||||
|
|
@ -123,7 +123,7 @@ export class MatchesService {
|
||||||
ngOnDestroy(): void {
|
ngOnDestroy(): void {
|
||||||
this.socket?.close();
|
this.socket?.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
create(match: Omit<Matches, 'id'>): Observable<Matches> {
|
create(match: Omit<Matches, 'id'>): Observable<Matches> {
|
||||||
const newMatch: Matches = {
|
const newMatch: Matches = {
|
||||||
...match,
|
...match,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue