Skip to content

Commit

Permalink
fixed alarm creation for slots K and N
Browse files Browse the repository at this point in the history
  • Loading branch information
DarshitJain04 committed Dec 13, 2021
1 parent 2f5acc9 commit 4122c4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/Popup/scripts/sheetapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ async function get_classes(slot) {
};
var classes = {};
for (var key in formatteddata) {
if (key == 2) {
if(key == 0){
continue;
}
for (var col in formatteddata[key]) {
Expand All @@ -108,6 +108,7 @@ async function get_classes(slot) {
var st = time[0].trim();
var et = time[1].trim();
classes[key][dkey] = { start: st, end: et };
console.log(`Start Time: ${st}, End Time: ${et}`)
}
}
return classes;
Expand Down

0 comments on commit 4122c4c

Please sign in to comment.