mirror of
https://github.com/plankanban/planka.git
synced 2025-12-26 17:25:03 +03:00
feat: Preserve original format of images, change interpolation kernel
Closes #349
This commit is contained in:
@@ -24,6 +24,7 @@ export function* createProjectManager(projectId, data) {
|
||||
({ item: projectManager } = yield call(request, api.createProjectManager, projectId, data));
|
||||
} catch (error) {
|
||||
yield put(actions.createProjectManager.failure(localId, error));
|
||||
return;
|
||||
}
|
||||
|
||||
yield put(actions.createProjectManager.success(localId, projectManager));
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user