Add function to move space shortcut
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user