aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common
diff options
context:
space:
mode:
authorMatjaž Črnko <m.crnko@txt.si>2023-11-06 00:15:40 +0100
committerMatjaž Črnko <m.crnko@txt.si>2023-11-06 00:15:40 +0100
commitd1c0292bc88f6c98e5598d1dd8b66c2ad1ea07bd (patch)
tree947c347000c7d73b1a67cd489ecaadb5615f035f /modern/src/common
parent0daf321f1492d6ba9e30ff5bf2ff91e44809374f (diff)
downloadtrackermap-web-d1c0292bc88f6c98e5598d1dd8b66c2ad1ea07bd.tar.gz
trackermap-web-d1c0292bc88f6c98e5598d1dd8b66c2ad1ea07bd.tar.bz2
trackermap-web-d1c0292bc88f6c98e5598d1dd8b66c2ad1ea07bd.zip
PWA: Move to a Reload Prompt model - WIP
Diffstat (limited to 'modern/src/common')
-rw-r--r--modern/src/common/attributes/useServerAttributes.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/modern/src/common/attributes/useServerAttributes.js b/modern/src/common/attributes/useServerAttributes.js
index 4339840e..e724c2b0 100644
--- a/modern/src/common/attributes/useServerAttributes.js
+++ b/modern/src/common/attributes/useServerAttributes.js
@@ -43,6 +43,10 @@ export default (t) => useMemo(() => ({
name: t('settingsTotpForce'),
type: 'boolean',
},
+ serviceWorkerUpdateInterval: {
+ name: t('settingsServiceWorkerUpdateInterval'),
+ type: 'number',
+ },
'ui.disableLoginLanguage': {
name: t('attributeUiDisableLoginLanguage'),
type: 'boolean',