APmanageur Wi-Fi V1.0
This commit is contained in:
1 parent
f881b5ee53
commit
d585c81d48
1 file changed
-7
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user