1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 13:19:44 +02:00

fix: Subscribe only when needed

This commit is contained in:
Maksim Eltyshev 2023-01-05 15:03:06 +01:00
parent b955e933b2
commit 58eda7d555
10 changed files with 28 additions and 23 deletions

View file

@ -47,7 +47,7 @@ export function* fetchBoardByCurrentPath() {
tasks,
attachments,
},
} = yield call(request, api.getBoard, boardId));
} = yield call(request, api.getBoard, boardId, true));
}
}

View file

@ -6,7 +6,7 @@ import api from '../../../api';
import mergeRecords from '../../../utils/merge-records';
export function* fetchCore() {
const { item: user } = yield call(request, api.getCurrentUser);
const { item: user } = yield call(request, api.getCurrentUser, true);
const { items: users1 } = yield call(request, api.getUsers);
const {