#857 added to (tomorrow) restriction
This commit is contained in:
parent
832d3f7a0a
commit
bac9b1c4ef
|
@ -15,7 +15,11 @@ export default class Controller {
|
|||
today.setHours(0, 0, 0, 0);
|
||||
today.setTime(today.getTime() - offset);
|
||||
|
||||
this.filter = {myTeam: true, from: today};
|
||||
let tomorrow = new Date(today);
|
||||
tomorrow.setHours(23, 59, 59, 59);
|
||||
tomorrow.setTime(tomorrow.getTime() - offset);
|
||||
|
||||
this.filter = {myTeam: true, from: today, to: tomorrow};
|
||||
}
|
||||
|
||||
goToTurns() {
|
||||
|
|
|
@ -93,8 +93,6 @@ module.exports = Self => {
|
|||
worker.collegues().forEach(collegue => {
|
||||
teamIds.push(collegue.collegueFk);
|
||||
});
|
||||
console.log(teamIds);
|
||||
|
||||
|
||||
let where = buildFilter(ctx.args, (param, value) => {
|
||||
switch (param) {
|
||||
|
|
Loading…
Reference in New Issue