diff --git a/app/coffee/modules/common/components.coffee b/app/coffee/modules/common/components.coffee index 3cd5bb3d..4f0e4bf7 100644 --- a/app/coffee/modules/common/components.coffee +++ b/app/coffee/modules/common/components.coffee @@ -175,6 +175,7 @@ WatchersDirective = ($rootscope, $confirm, $repo) -> <% }; %> <% _.each(watchers, function(watcher) { %> + <% if(watcher) { %>
@@ -191,6 +192,7 @@ WatchersDirective = ($rootscope, $confirm, $repo) -> <% }; %>
+ <% } %> <% }); %> """) @@ -214,6 +216,7 @@ WatchersDirective = ($rootscope, $confirm, $repo) -> watchers: watchers isEditable: isEditable() } + html = template(ctx) $el.html(html)