mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-15 03:30:29 +03:00
Add function to move space shortcut
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
faaac72b81
commit
a7a5b08ad8
3 changed files with 20 additions and 0 deletions
|
|
@ -18,6 +18,14 @@ export function deleteSpaceShortcut(roomId) {
|
|||
});
|
||||
}
|
||||
|
||||
export function moveSpaceShortcut(roomId, toIndex) {
|
||||
appDispatcher.dispatch({
|
||||
type: cons.actions.accountData.MOVE_SPACE_SHORTCUTS,
|
||||
roomId,
|
||||
toIndex,
|
||||
});
|
||||
}
|
||||
|
||||
export function categorizeSpace(roomId) {
|
||||
appDispatcher.dispatch({
|
||||
type: cons.actions.accountData.CATEGORIZE_SPACE,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue