(`/api/v1/cases/${caseID}/devices?_t=${Date.now()}`);
            if (response.ok) {
                const data = await response.json();
                const devices = data.devices || data || [];
                const deviceCount = devices.length || 0;
                
                const caseCard = document.querySelector(`[data-case-id="${caseID}"]`);
                if (caseCard) {
                    const badge = caseCard.querySelector('.rc-badge-info');
                    if (badge) {
             