SP page: por_ok syncs the selected card preset's counter; v1.9.8

When a secured packet is accepted (por_ok) and a card is selected in
the SP-page card dropdown, the new normalized counter is written back
into that preset (cards[].cntr), persisted via cardsSave() and
reflected in the presets table via cardsRender(). Placeholder option
and unselected state are skipped. Form bump + preset sync happen in
the same okPor block, so form and stored preset always climb together.

Version 1.9.7 -> 1.9.8 everywhere; SW cache otaman-v18 -> otaman-v19
This commit is contained in:
2026-08-25 00:11:56 +03:00
parent eb21715050
commit 269ad51f7e
5 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ Returns server version for compatibility checking.
**Example response:**
```json
{"version": "1.9.7"}
{"version": "1.9.8"}
```
### `GET /api/status`