Dieser Commit ist enthalten in:
Ursprung
fe9610a970
Commit
41a3b75c97
@ -11,8 +11,8 @@ image: ../../../images/SchneeballschlachtMWG.png
|
||||
|
||||
# Gruppenphase
|
||||
|
||||
<group-table data-event="65" />
|
||||
<group-table data-event="65"> </group-table>
|
||||
|
||||
## Kampfplan
|
||||
|
||||
<fight-table data-event="65" data-group="Gruppe 1" />
|
||||
<fight-table data-event="65" data-group="Gruppe 1"> </fight-table>
|
@ -109,6 +109,7 @@ const ogImage = await getImage({
|
||||
import GroupTable from "@components/GroupTable.svelte";
|
||||
import {eventRepo} from "../../components/repo/event";
|
||||
import type {ExtendedEvent} from "@type/event";
|
||||
import {mount} from "svelte";
|
||||
|
||||
const eventMounts: Map<string, ((ev: ExtendedEvent) => void)[]> = new Map();
|
||||
|
||||
@ -119,14 +120,14 @@ const ogImage = await getImage({
|
||||
}
|
||||
const rows = Number.parseInt(this.dataset["rows"]!);
|
||||
eventMounts.get(this.dataset["event"]!)!.push(ev => {
|
||||
new FightTable({
|
||||
mount(FightTable, {
|
||||
target: this,
|
||||
props: {
|
||||
event: ev,
|
||||
group: this.dataset["group"],
|
||||
rows: !isNaN(rows) ? rows : 1,
|
||||
},
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
@ -138,14 +139,14 @@ const ogImage = await getImage({
|
||||
}
|
||||
const rows = Number.parseInt(this.dataset["rows"]!);
|
||||
eventMounts.get(this.dataset["event"]!)!.push(ev => {
|
||||
new GroupTable({
|
||||
mount(GroupTable, {
|
||||
target: this,
|
||||
props: {
|
||||
event: ev,
|
||||
group: this.dataset["group"],
|
||||
rows: !isNaN(rows) ? rows : 1,
|
||||
},
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren