caipin 5 jaren geleden
bovenliggende
commit
c6679257a3
1 gewijzigde bestanden met toevoegingen van 5 en 3 verwijderingen
  1. 5 3
      views/cloud/curing.html

+ 5 - 3
views/cloud/curing.html

@@ -157,11 +157,13 @@
                                             <td>
                                             <span class="badge badge-primary">
                                             <% compilationList.forEach(function(compilation) { %>
-	                                            <% curingList.upgrade_list.forEach(function(upgrade) { %>
-		                                            <% if( compilation._id == upgrade.compilationID) {  %>
+                                            	<% for(var i=1;i<=curingList.upgrade_list.length;i++){ %>
+                                            		<% if( compilation._id == curingList.upgrade_list[i].compilationID) {  %>
 	                                        		<%= compilation.name %>
 	                                        		<% }; %>
-	                                        	<% }); %>
+                                            	<% }; %>
+                                            	
+	                                            
                                         	<% }); %>
                                             </span>
                                             </td>