versie 1.3.1 - bug fixes

This commit is contained in:
Mel M. van Veen
2024-12-03 14:08:42 +01:00
parent f34ca26cdd
commit 198b433ceb
5 changed files with 10 additions and 3 deletions

View File

@@ -2,6 +2,10 @@
## Changelog ## Changelog
### - versie 1.3.1 - bug fixes
- tussenstand scherm fix
### - versie 1.3.0 - the 'feel' update: ### - versie 1.3.0 - the 'feel' update:
- tussenstand scherm toegevoegd - tussenstand scherm toegevoegd
- nieuw lettertype toegevoegd om de 'RTL feel' te geven - nieuw lettertype toegevoegd om de 'RTL feel' te geven

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "wiv", "name": "wiv",
"version": "1.3.0", "version": "1.3.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "wiv", "name": "wiv",
"version": "1.3.0", "version": "1.3.1",
"dependencies": { "dependencies": {
"@angular/animations": "^19.0.1", "@angular/animations": "^19.0.1",
"@angular/cdk": "^19.0.0", "@angular/cdk": "^19.0.0",

View File

@@ -1,6 +1,6 @@
{ {
"name": "wiv", "name": "wiv",
"version": "1.3.0", "version": "1.3.1",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "ng serve", "start": "ng serve",

View File

@@ -2,10 +2,12 @@ import { Routes } from '@angular/router';
import {GameComponent} from './game/game.component'; import {GameComponent} from './game/game.component';
import {WelcomeComponent} from './welcome/welcome.component'; import {WelcomeComponent} from './welcome/welcome.component';
import {FinalComponent} from './final/final.component'; import {FinalComponent} from './final/final.component';
import {CurrentScoreComponent} from './current-score/current-score.component';
export const routes: Routes = [ export const routes: Routes = [
{ path: '', component: WelcomeComponent }, { path: '', component: WelcomeComponent },
{ path: 'start', component: GameComponent }, { path: 'start', component: GameComponent },
{ path: 'final', component: FinalComponent }, { path: 'final', component: FinalComponent },
{ path: 'currentScore', component: CurrentScoreComponent },
]; ];

View File

@@ -95,6 +95,7 @@ export class GameComponent implements OnInit {
let question = +localStorage.getItem('question') let question = +localStorage.getItem('question')
if (question < 50){ if (question < 50){
console.log('AAAAAHHH')
if (question % 10 == 0){ if (question % 10 == 0){
this.router.navigate(['currentScore']) this.router.navigate(['currentScore'])
} }