We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc299f8 commit e1e86efCopy full SHA for e1e86ef
soundboxBooking.js
@@ -68,10 +68,13 @@ async function fetchData() {
68
const registed = await getRegisted();
69
70
let registedToday=[]
71
+ let today = new Date();
72
for(i=0;i<registed.length;i++){
- selectedBlocks.push(registed[i]);
73
+
74
if (registed[i][2].value==selectedDate.replaceAll("-","")){
75
registedToday.push((registed[i][0],registed[i][1]));
76
+ if(timetable[registed[i][1]]>today.getHours()){}
77
+ selectedBlocks.push(registed[i]);
78
}
79
80
if (data) {
0 commit comments