diff --git a/index.js b/index.js index c98131c..2bfda04 100644 --- a/index.js +++ b/index.js @@ -35,6 +35,7 @@ function renderDashboard(req, res) { gateway_name: config.globals.gateway_name, title: 'Dashboard', config: config, + matrix: matrix, }); } diff --git a/views/dashboard.html b/views/dashboard.html index aa4ea6f..0ddc947 100644 --- a/views/dashboard.html +++ b/views/dashboard.html @@ -9,7 +9,7 @@ </div> <div class="panel-body"> - {% if config.globals.pause %} + {% if matrix.pause %} <p> System paused. Click the button to resume it.</p>