APmanageur Wi-Fi V1.0

This commit is contained in:
yoannmultigaming committed 2026-11-20 02:43:18 +01:00
1 parent f881b5ee53
commit d585c81d48
1 file changed
-7
-7
View File
@@ -9116,13 +9116,6 @@ ${vpnBadgeTopo}
async function onQuotaPeriodChanged() { async function onQuotaPeriodChanged() {
if (!currentLimitsDev) return; if (!currentLimitsDev) return;
try { try {
const res = await apiFetch(`/api/devices/limits?mac=${encodeURIComponent(currentLimitsDev.mac)}`);
if (res.ok) {
const data = await res.json();
if (data && data.limits) {
currentLimitsDev.limits = data.limits;
}
}
} catch (_) { } } catch (_) { }
updateQuotaPreview(); updateQuotaPreview();
} }