diff --git a/frontend/app/index/controller.js b/frontend/app/index/controller.js index 84ae7c5c6..83ddb0314 100644 --- a/frontend/app/index/controller.js +++ b/frontend/app/index/controller.js @@ -424,7 +424,10 @@ export default class IndexController extends Controller { to_date: to.format("YYYY-MM-DD"), }; - const absences = yield this.store.query("absence", params); + const absences = yield this.store.query("absence", { + ...params, + user: this.currentUser.user.id, + }); const publicHolidays = yield this.store.query("public-holiday", { ...params,