Aktueller Stand

This commit is contained in:
2024-11-27 12:44:46 +01:00
parent f70af3a59e
commit 2c7fbac29c
4 changed files with 21 additions and 18 deletions

View File

@@ -18,9 +18,9 @@ export class TrainingComponent {
unknownCount: number = 0;
showTextFlag: boolean = false;
get currentImage(): DeckImage | null {
get currentImage(): string | null {
if (this.currentIndex < this.deck.images.length) {
return this.deck.images[this.currentIndex];
return `/api/debug_image/${this.deck.images[this.currentIndex].name}`;
}
return null;
}