Move to new server

This commit is contained in:
2024-10-12 13:38:41 +02:00
commit e2e855e9b9
113 changed files with 11268 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import { Pipe, PipeTransform } from "@angular/core";
@Pipe({
name: 'matchResult',
standalone: true
})
export class MatchResultPipe implements PipeTransform {
transform(match: any, args?: any): any {
let result = `${match.games[0].score1} ${match.games[0].score2}`;
result += `${match.games[1].score1} ${match.games[1].score2}`;
if (match.games[2] != null) {
result += `${match.games[2].score1} - ${match.games[2].score2}`;
}
return result;
}
}