Commit 44152cc49452c0186a2e9476074e1bb7addc75df

Authored by Adhidarma Hadiwinoto
1 parent bb1435827f
Exists in master

matrix.pause detection bug

Showing 2 changed files with 2 additions and 1 deletions Side-by-side Diff

... ... @@ -35,6 +35,7 @@ function renderDashboard(req, res) {
35 35 gateway_name: config.globals.gateway_name,
36 36 title: 'Dashboard',
37 37 config: config,
  38 + matrix: matrix,
38 39 });
39 40 }
40 41  
views/dashboard.html
... ... @@ -9,7 +9,7 @@
9 9 </div>
10 10  
11 11 <div class="panel-body">
12   - {% if config.globals.pause %}
  12 + {% if matrix.pause %}
13 13  
14 14  
15 15 <p> System paused. Click the button to resume it.</p>