nnector1');
        loadConnectors('cableConnector2');
        document.getElementById('addCableModal').style.display = 'flex';
        document.body.style.overflow = 'hidden';
    }

    function closeAddCableModal() {
        document.getElementById('addCableModal').style.display = 'none';
        document.body.style.overflow = 'auto';
        document.getElementById('addCableForm').reset();
    }

    function viewCable(cableId) {
        console.log('View cable:', cableId);
        fetch(`/api/v1/cables