This commit is contained in:
Pablo Vazquez 2016-12-02 16:25:47 +01:00
parent 1beb3ca488
commit bc456f9387

View File

@ -377,7 +377,7 @@ script.
} }
// XXX temporary lock for agent 327 project // XXX temporary lock for agent 327 project
{% if subscription not in ['demo', 'subscriber', 'admin'] and project.url == 'agent-327' and not node.permissions.world %} {% if subscription not in ['demo', 'subscriber', 'admin'] and project.url == 'agent-327' and not (node.permissions and node.permissions.world) %}
var url = '/join-agent'; var url = '/join-agent';
{% else %} {% else %}
var url = '/nodes/' + nodeId + '/view'; var url = '/nodes/' + nodeId + '/view';