github
@@ -1139,6 +1139,7 @@ function scp80SwitchSubtab(name) {
});
document.getElementById('scp80-sub-sp').classList.toggle('hidden', name !== 'sp');
document.getElementById('scp80-sub-cards').classList.toggle('hidden', name !== 'cards');
+ if (name === 'cards') cardsRender();
scp80HelpAnchor = { sp: 'secured-packet', cards: 'cards' }[name] || 'secured-packet';
setHelpAnchor(scp80HelpAnchor);
}
@@ -4313,6 +4314,7 @@ function cardsLoad() {
cards = d ? JSON.parse(d) : [];
} catch (e) { cards = []; }
cardsRebuildSelect();
+ cardsRender();
}
function cardsSave() {
diff --git a/frontend/sw.js b/frontend/sw.js
index 265fdcc..36fbc70 100644
--- a/frontend/sw.js
+++ b/frontend/sw.js
@@ -1,4 +1,4 @@
-const CACHE = 'otaman-v21';
+const CACHE = 'otaman-v22';
const URLS = [
'index.html',
'help.html',
diff --git a/pyproject.toml b/pyproject.toml
index dbd2c2e..1e1628e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "pysim-otaman-server"
-version = "1.9.10"
+version = "1.9.11"
description = "HTTP REST server wrapping pysim for the OTAMan PWA"
requires-python = ">=3.8"
# pysim is a git-only dependency installed explicitly by setup.bat/setup.sh.
diff --git a/pysim_otaman_server/server.py b/pysim_otaman_server/server.py
index ee0b9e3..4af80dd 100644
--- a/pysim_otaman_server/server.py
+++ b/pysim_otaman_server/server.py
@@ -18,7 +18,7 @@ from osmocom.construct import GsmOrUcs2Adapter
from osmocom.tlv import BER_TLV_IE
-VERSION = '1.9.10'
+VERSION = '1.9.11'
# Static file serving (the PWA lives in
/frontend, served by this server