|
|
|
@ -49,7 +49,7 @@ export const useFetchTasksByFilter = ({
@@ -49,7 +49,7 @@ export const useFetchTasksByFilter = ({
|
|
|
|
|
isOutdate: filter?.isOverdue, |
|
|
|
|
status: filter?.status, |
|
|
|
|
executorId: filter?.isMy ? accountId : filter?.executor?.id, |
|
|
|
|
authorId: filter?.isMy ? null : filter?.creator?.id, |
|
|
|
|
authorId: filter?.isMy ? accountId : filter?.creator?.id, |
|
|
|
|
groupsIds: filter?.group ? [filter?.group?.id] : null, |
|
|
|
|
targetDate: filter?.date, |
|
|
|
|
startDateFrom: filter?.startDate, |
|
|
|
|