removed profile image from members list
This commit is contained in:
@@ -236,13 +236,13 @@ function ParticipantsBar() {
|
||||
<ContextMenuTrigger>
|
||||
<li className="p-2 hover:bg-zinc-800 rounded-2xl flex items-center justify-between group m-2">
|
||||
<span className="flex items-center gap-2">
|
||||
<div className="flex items-center justify-center w-8 h-8 overflow-hidden rounded-full bg-gray-100">
|
||||
<img
|
||||
src={zdjecie}
|
||||
alt="Profile image"
|
||||
className="h-full w-full object-cover"
|
||||
/>
|
||||
</div>
|
||||
{/*<div className="flex items-center justify-center w-8 h-8 overflow-hidden rounded-full bg-gray-100">*/}
|
||||
{/* <img*/}
|
||||
{/* src={zdjecie}*/}
|
||||
{/* alt="Profile image"*/}
|
||||
{/* className="h-full w-full object-cover"*/}
|
||||
{/* />*/}
|
||||
{/*</div>*/}
|
||||
|
||||
{participant.username}
|
||||
{participant.isowner ? (
|
||||
|
||||
@@ -223,11 +223,7 @@ app.delete(
|
||||
|
||||
console.log("Delete contact for: ", req.params.contact_id, conversation_id);
|
||||
|
||||
const result = await deleteContact(
|
||||
req.user.user_id,
|
||||
contact_id,
|
||||
conversation_id,
|
||||
);
|
||||
const result = await deleteContact(req.user.user_id, contact_id);
|
||||
if (result?.message) {
|
||||
return res.status(400).json({ message: result.message });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user