Aktueller Stand
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user