summaryrefslogtreecommitdiff
path: root/views/models.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/models.haml')
-rw-r--r--views/models.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/models.haml b/views/models.haml
index ab113c5..a99144a 100644
--- a/views/models.haml
+++ b/views/models.haml
@@ -1,4 +1,4 @@
-- stati = @models.map{|m| "#{m.id}" if m.status != "Completed"}.compact
+- stati = @models.map{|m| "#{m.id}" if m.status !~ /Completed|Error/}.compact
- stati_to_check = stati.length > 0 ? stati.join(", ") : stati = 0
:javascript
$(function() {