chore: Update dependencies

This commit is contained in:
Maksim Eltyshev
2022-11-21 00:54:05 +01:00
parent 5381d45e50
commit b0d23373c0
22 changed files with 12561 additions and 15980 deletions

View File

@@ -23,9 +23,9 @@ export function* fetchBoardByCurrentPath() {
if (pathsMatch) {
let boardId;
if (pathsMatch.path === Paths.BOARDS) {
if (pathsMatch.pattern.path === Paths.BOARDS) {
boardId = pathsMatch.params.id;
} else if (pathsMatch.path === Paths.CARDS) {
} else if (pathsMatch.pattern.path === Paths.CARDS) {
({
item: card,
item: { boardId },

View File

@@ -1,5 +1,5 @@
import { call, put, select, take } from 'redux-saga/effects';
import { push } from 'connected-react-router';
import { push } from 'redux-first-history';
import request from '../request';
import selectors from '../../../selectors';
@@ -31,7 +31,7 @@ export function* handleLocationChange() {
return;
}
switch (pathsMatch.path) {
switch (pathsMatch.pattern.path) {
case Paths.LOGIN:
yield call(goToRoot);
@@ -58,7 +58,7 @@ export function* handleLocationChange() {
let attachments;
let deletedNotifications;
switch (pathsMatch.path) {
switch (pathsMatch.pattern.path) {
case Paths.BOARDS:
case Paths.CARDS: {
const currentBoard = yield select(selectors.selectCurrentBoard);
@@ -85,7 +85,7 @@ export function* handleLocationChange() {
} catch (error) {} // eslint-disable-line no-empty
}
if (pathsMatch.path === Paths.CARDS) {
if (pathsMatch.pattern.path === Paths.CARDS) {
const notificationIds = yield select(selectors.selectNotificationIdsForCurrentCard);
if (notificationIds && notificationIds.length > 0) {

View File

@@ -1,5 +1,5 @@
import { takeEvery } from 'redux-saga/effects';
import { LOCATION_CHANGE } from 'connected-react-router';
import { LOCATION_CHANGE } from 'redux-first-history';
import services from '../services';

View File

@@ -1,5 +1,5 @@
import { call, put, select } from 'redux-saga/effects';
import { push } from 'connected-react-router';
import { push } from 'redux-first-history';
import selectors from '../../../selectors';
import Paths from '../../../constants/Paths';
@@ -19,7 +19,7 @@ export function* handleLocationChange() {
return;
}
switch (pathsMatch.path) {
switch (pathsMatch.pattern.path) {
case Paths.ROOT:
case Paths.PROJECTS:
case Paths.BOARDS:

View File

@@ -1,5 +1,5 @@
import { takeEvery } from 'redux-saga/effects';
import { LOCATION_CHANGE } from 'connected-react-router';
import { LOCATION_CHANGE } from 'redux-first-history';
import services from '../services';