mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
Add pending requests menu.
This commit is contained in:
@@ -23,7 +23,6 @@ import { At, Bell, BellOff, Check, CheckSquare, ChevronRight, Block, Square, Lef
|
||||
import { Cog } from "@styled-icons/boxicons-solid";
|
||||
import { getNotificationState, Notifications, NotificationState } from "../redux/reducers/notifications";
|
||||
import UserStatus from "../components/common/user/UserStatus";
|
||||
import { Link } from "react-router-dom";
|
||||
import IconButton from "../components/ui/IconButton";
|
||||
|
||||
interface ContextMenuData {
|
||||
@@ -438,7 +437,7 @@ function ContextMenus(props: Props) {
|
||||
];
|
||||
break;
|
||||
case Users.Relationship.Incoming:
|
||||
actions = ["add_friend", "block_user"];
|
||||
actions = ["add_friend", "cancel_friend", "block_user"];
|
||||
break;
|
||||
case Users.Relationship.Outgoing:
|
||||
actions = ["cancel_friend", "block_user"];
|
||||
|
||||
Reference in New Issue
Block a user