wip: peer make work with qr code
This commit is contained in:
@@ -329,7 +329,15 @@ function WireGuard() {
|
||||
|
||||
{/* Peer Configuration Modal */}
|
||||
{showPeerConfig && selectedPeer && (
|
||||
<div className="fixed inset-0 bg-gray-600 bg-opacity-50 overflow-y-auto h-full w-full z-50">
|
||||
<div
|
||||
className="fixed inset-0 bg-gray-600 bg-opacity-50 overflow-y-auto h-full w-full z-50"
|
||||
onClick={(e) => {
|
||||
// Close modal when clicking on backdrop
|
||||
if (e.target === e.currentTarget) {
|
||||
setShowPeerConfig(false);
|
||||
}
|
||||
}}
|
||||
>
|
||||
<div className="relative top-10 mx-auto p-5 border w-full max-w-4xl shadow-lg rounded-md bg-white">
|
||||
<div className="mt-3">
|
||||
<div className="flex items-center justify-between mb-4">
|
||||
|
||||
Reference in New Issue
Block a user