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

feat: Preserve original format of images, change interpolation kernel

Closes #349
This commit is contained in:
Maksim Eltyshev 2022-12-24 00:47:59 +01:00
parent 73abed65b5
commit 05b57142f9
17 changed files with 212 additions and 103 deletions

View file

@ -53,6 +53,7 @@ export function* updateProject(id, data) {
({ item: project } = yield call(request, api.updateProject, id, data));
} catch (error) {
yield put(actions.updateProject.failure(id, error));
return;
}
yield put(actions.updateProject.success(project));
@ -76,6 +77,7 @@ export function* updateProjectBackgroundImage(id, data) {
({ item: project } = yield call(request, api.updateProjectBackgroundImage, id, data));
} catch (error) {
yield put(actions.updateProjectBackgroundImage.failure(id, error));
return;
}
yield put(actions.updateProjectBackgroundImage.success(project));
@ -101,6 +103,7 @@ export function* deleteProject(id) {
({ item: project } = yield call(request, api.deleteProject, id));
} catch (error) {
yield put(actions.deleteProject.failure(id, error));
return;
}
yield put(actions.deleteProject.success(project));