ajout du param timerefreshnotif (fixes #32871)

This commit is contained in:
2021-07-05 14:26:51 +02:00
parent fac25a036e
commit 13c24bd1ee
2 changed files with 3 additions and 2 deletions

View File

@ -313,10 +313,10 @@
order: [[ 1, "asc" ]],
});
{% if app.user %}
{% if app.user and app.session.get("timerefreshnotif") > 0%}
setInterval(function(){
loadmsgCounter()
}, 10000);
}, {{(app.session.get("timerefreshnotif")*1000)}});
{% endif %}
// Init socket de counter