Merge branch 'master' of https://github.com/ksjdragon/hourglass
This commit is contained in:
commit
2eab366a0a
@ -108,7 +108,6 @@ Template.registerHelper('myClasses', () => { // Gets all classes and respective
|
|||||||
mine: false,
|
mine: false,
|
||||||
box: " owned"
|
box: " owned"
|
||||||
};
|
};
|
||||||
array.push(found);
|
|
||||||
} else {
|
} else {
|
||||||
found = classes.findOne({
|
found = classes.findOne({
|
||||||
_id: courses[i]
|
_id: courses[i]
|
||||||
@ -119,9 +118,9 @@ Template.registerHelper('myClasses', () => { // Gets all classes and respective
|
|||||||
found.box = " owned";
|
found.box = " owned";
|
||||||
found.mine = false;
|
found.mine = false;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (classDisp.indexOf(courses[i]) !== -1) found.selected = true; // Filter selected.
|
if (classDisp.indexOf(courses[i]) !== -1) found.selected = true; // Filter selected.
|
||||||
array.push(found);
|
array.push(found);
|
||||||
}
|
|
||||||
|
|
||||||
var thisWork = work.find({
|
var thisWork = work.find({
|
||||||
class: courses[i]
|
class: courses[i]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user