mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
frontend is_starred and description support
This commit is contained in:
parent
a4b620471a
commit
c040e33a8a
11 changed files with 103 additions and 26 deletions
|
@ -307,7 +307,7 @@ function* clearSaga({ type }) {
|
|||
}
|
||||
|
||||
function* sendSaveRequestSaga({
|
||||
title, address, force, is_public
|
||||
title, address, force, is_public, description,
|
||||
}: ReturnType<typeof ActionCreators.sendSaveRequest>) {
|
||||
if (editor.isEmpty) return yield put(setSaveError(TIPS.SAVE_EMPTY));
|
||||
|
||||
|
@ -319,7 +319,7 @@ function* sendSaveRequestSaga({
|
|||
|
||||
const { result, timeout, cancel } = yield race({
|
||||
result: postMap({
|
||||
id, token, route, stickers, title, force, address, logo, distance, provider, is_public
|
||||
id, token, route, stickers, title, force, address, logo, distance, provider, is_public, description,
|
||||
}),
|
||||
timeout: delay(10000),
|
||||
cancel: take(ACTIONS.RESET_SAVE_DIALOG),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue