Remove Jitsi room ID display from user appointment detail page to streamline meeting information presentation. This change enhances clarity by focusing on essential meeting details while eliminating unnecessary elements related to room ID visibility.
This commit is contained in:
parent
65af13b0b2
commit
117ce09dc7
@ -465,26 +465,6 @@ export default function UserAppointmentDetailPage() {
|
|||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
<div className="p-6 space-y-4">
|
<div className="p-6 space-y-4">
|
||||||
{appointment.jitsi_room_id && (
|
|
||||||
<div>
|
|
||||||
<p className={`text-xs font-medium mb-2 uppercase tracking-wider ${isDark ? "text-gray-400" : "text-gray-500"}`}>
|
|
||||||
Meeting Room ID
|
|
||||||
</p>
|
|
||||||
<div className="flex items-center gap-2">
|
|
||||||
<p className={`text-sm font-mono px-3 py-2 rounded-lg ${isDark ? "bg-gray-800 text-gray-200" : "bg-white text-gray-900 border border-gray-200"}`}>
|
|
||||||
{appointment.jitsi_room_id}
|
|
||||||
</p>
|
|
||||||
<button
|
|
||||||
onClick={() => appointment.can_join_as_participant && copyToClipboard(appointment.jitsi_room_id!, "Room ID")}
|
|
||||||
disabled={!appointment.can_join_as_participant}
|
|
||||||
className={`p-2 rounded-lg transition-colors ${appointment.can_join_as_participant ? (isDark ? "hover:bg-gray-700" : "hover:bg-gray-100") : (isDark ? "opacity-50 cursor-not-allowed" : "opacity-50 cursor-not-allowed")}`}
|
|
||||||
title={appointment.can_join_as_participant ? "Copy room ID" : "Meeting not available"}
|
|
||||||
>
|
|
||||||
<Copy className={`w-4 h-4 ${isDark ? "text-gray-400" : "text-gray-500"}`} />
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
<div>
|
<div>
|
||||||
<p className={`text-xs font-medium mb-2 uppercase tracking-wider ${isDark ? "text-gray-400" : "text-gray-500"}`}>
|
<p className={`text-xs font-medium mb-2 uppercase tracking-wider ${isDark ? "text-gray-400" : "text-gray-500"}`}>
|
||||||
Meeting Link
|
Meeting Link
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user