- {
- spaceShortcut.map((shortcut) => {
- const sRoomId = shortcut;
- const room = mx.getRoom(sRoomId);
- return (
-
selectTab(shortcut)}
- onContextMenu={(e) => openSpaceOptions(e, sRoomId)}
- avatar={(
-
- )}
- notificationBadge={notifications.hasNoti(sRoomId) ? (
- 0}
- content={abbreviateNumber(notifications.getTotalNoti(sRoomId)) || null}
- />
- ) : null}
- />
- );
- })
- }
+
openShortcutSpaces()}