removed profile image from members list

This commit is contained in:
slawk0
2025-01-28 18:46:13 +01:00
parent 3fd71af84f
commit 7502409026
2 changed files with 8 additions and 12 deletions

View File

@@ -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 ? (

View File

@@ -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 });
}