summaryrefslogtreecommitdiffstats
path: root/ogcp/static/js
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/static/js')
-rw-r--r--ogcp/static/js/ogcp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ogcp/static/js/ogcp.js b/ogcp/static/js/ogcp.js
index dc1c063..3623eb9 100644
--- a/ogcp/static/js/ogcp.js
+++ b/ogcp/static/js/ogcp.js
@@ -107,7 +107,7 @@ function updateScopeState() {
function updateScopes(scopes) {
scopes.forEach((scope) => {
if (scope.state) {
- const scopeId = `${scope.name}_${scope.id}`;
+ const scopeId = `${scope.name}_${scope.id}`.replaceAll('.', '_');
const iconEl = document.querySelector(`#${scopeId} .nav-icon`);
const iconCls = ['fas', 'far', 'text-danger', 'text-success',
'text-warning', 'text-wol'];