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

Change id generation algorithm, display notifications total on the main page

This commit is contained in:
Maksim Eltyshev 2019-10-10 02:51:54 +05:00
parent 9ebc82bf22
commit 3848cc194a
86 changed files with 264 additions and 159 deletions

View file

@ -7,7 +7,7 @@ import {
deleteLabelRequest,
updateLabelRequest,
} from '../requests';
import { maxIdSelector, pathSelector } from '../../../selectors';
import { pathSelector } from '../../../selectors';
import {
addLabelToBoardFilter,
addLabelToCard,
@ -17,11 +17,10 @@ import {
removeLabelFromCard,
updateLabel,
} from '../../../actions';
import { nextLocalId } from '../../../utils/local-id';
import { Label } from '../../../models';
import { createLocalId } from '../../../utils/local-id';
export function* createLabelService(boardId, data) {
const localId = nextLocalId(yield select(maxIdSelector, Label.modelName));
const localId = yield call(createLocalId);
yield put(
createLabel({