empty result

Thiago Talma %!s(int64=9) %!d(string=hace) años
padre
commit
84fd6365f3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/assets/javascripts/components/utils.js.coffee

+ 1 - 1
app/assets/javascripts/components/utils.js.coffee

@@ -129,7 +129,7 @@ class @Utils
129 129
               find('.agent-dry-run-log').text(json.log).end().
130 130
               find('.agent-dry-run-events').text(json.events).end().
131 131
               find('.agent-dry-run-memory').text(json.memory)
132
-            active = if json.events.match(/^\[\s*\]$/) then 'tabLog' else 'tabEvents'
132
+            active = if json.events.match(/^\[?\s*\]?$/) then 'tabLog' else 'tabEvents'
133 133
             $('#resultTabs a[href="#' + active + '"]').tab('show')
134 134
           title: 'Dry Run Results',
135 135
           onHide: callback