Skip to content

Commit

Permalink
Merge pull request #6 from appventure-nush/2024-moreupdates
Browse files Browse the repository at this point in the history
Add more updates
  • Loading branch information
Walnit authored May 10, 2024
2 parents bb87dd9 + 64206b1 commit 1a4ab45
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion src/api/DbService.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,12 @@ export default {
},

async reinitialiseTours() {
console.log('resetting!');

Check warning on line 84 in src/api/DbService.js

View workflow job for this annotation

GitHub Actions / build_and_deploy

Unexpected console statement

Check warning on line 84 in src/api/DbService.js

View workflow job for this annotation

GitHub Actions / build_and_deploy

Unexpected console statement
const timings = [
900, 915, 930, 945, 1000, 1015, 1030, 1045, 1100, 1115, 1130, 1145,
//
1200, 1210, 1220, 1230, 1240, 1250, 1300, 1310, 1320, 1330, 1340, 1350,
1400, 1410, 1420, 1430, 1440, 1450, 1500, 1510, 1520, 1530,
1400, 1410, 1420, 1430,
];
const groupsBefore1200 = ['A1', 'A2', 'B1', 'B2', 'C1', 'C2'];
const groupsAfter1200 = ['A1', 'A2', 'B1', 'B2', 'C1', 'C2'];
Expand All @@ -96,9 +97,11 @@ export default {
const slot = timing + '_' + group;
slotsLeftData[slot] = 12;
const emptyData = {};
console.log(slot);

Check warning on line 100 in src/api/DbService.js

View workflow job for this annotation

GitHub Actions / build_and_deploy

Unexpected console statement

Check warning on line 100 in src/api/DbService.js

View workflow job for this annotation

GitHub Actions / build_and_deploy

Unexpected console statement
await setDoc(doc(db, 'tourGroups', slot), emptyData);
}
}
await setDoc(doc(db, 'slotsLeft', 'slotsLeft'), slotsLeftData);
console.log('done!');

Check warning on line 105 in src/api/DbService.js

View workflow job for this annotation

GitHub Actions / build_and_deploy

Unexpected console statement
},
};
8 changes: 4 additions & 4 deletions src/views/BookingPass.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<span
style="
display: block;
font-size: var(--smaller-text-size);
font-size: var(--normal-text-size);
font-weight: 500;
margin-top: 60px;
"
Expand Down Expand Up @@ -70,11 +70,11 @@ export default {
case 'A':
return 'red';
case 'B':
return 'blue';
return 'yellow';
case 'C':
return 'green';
return 'blue';
case 'D':
return 'yellow';
return 'green';
default:
throw 'Invalid route';
}
Expand Down

0 comments on commit 1a4ab45

Please sign in to comment.