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:
parent
b955e933b2
commit
58eda7d555
10 changed files with 28 additions and 23 deletions
|
@ -47,7 +47,7 @@ export function* fetchBoardByCurrentPath() {
|
|||
tasks,
|
||||
attachments,
|
||||
},
|
||||
} = yield call(request, api.getBoard, boardId));
|
||||
} = yield call(request, api.getBoard, boardId, true));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue