mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
stickers: separated stickers and stickers_select modes
This commit is contained in:
parent
dde58461b7
commit
e53ef85ae9
5 changed files with 10 additions and 22 deletions
|
@ -201,18 +201,14 @@ function* setModeSaga({ mode }) {
|
|||
}
|
||||
|
||||
function* userLogoutSaga() {
|
||||
const { id } = yield select(getUser);
|
||||
|
||||
// if (id === editor.owner) {
|
||||
// editor.owner = { id: null };
|
||||
// }
|
||||
|
||||
yield put(setUser(DEFAULT_USER));
|
||||
yield call(generateGuestSaga);
|
||||
}
|
||||
|
||||
function* setActiveStickerSaga({ activeSticker }) {
|
||||
yield editor.activeSticker = activeSticker;
|
||||
yield put(setMode(MODES.STICKERS));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue