mirror of
https://github.com/plankanban/planka.git
synced 2025-12-25 09:15:00 +03:00
Change user size on card, save card description on click outside, prevent list deletion if any filter is active
This commit is contained in:
@@ -5,10 +5,10 @@ import { logoutService } from './login';
|
||||
import { closeModalService } from './modal';
|
||||
import { deleteNotificationsRequest, fetchUsersRequest } from '../requests';
|
||||
import {
|
||||
attachmentWithIdExistsSelector,
|
||||
currentModalSelector,
|
||||
currentUserIdSelector,
|
||||
currentUserSelector,
|
||||
isAttachmentWithIdExistsSelector,
|
||||
pathSelector,
|
||||
} from '../../../selectors';
|
||||
import {
|
||||
@@ -210,9 +210,9 @@ export function* deleteTaskReceivedService(task) {
|
||||
}
|
||||
|
||||
export function* createAttachmentReceivedService(attachment, requestId) {
|
||||
const exists = yield select(attachmentWithIdExistsSelector, requestId);
|
||||
const isExists = yield select(isAttachmentWithIdExistsSelector, requestId);
|
||||
|
||||
if (!exists) {
|
||||
if (!isExists) {
|
||||
yield put(createAttachmentReceived(attachment));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user