mirror of
				https://github.com/ClusterCockpit/cc-backend
				synced 2025-11-04 09:35:07 +01:00 
			
		
		
		
	Merge pull request #348 from ClusterCockpit/dev
use extendedLegend in nodeList for all non-idle nodes
This commit is contained in:
		@@ -98,8 +98,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  let extendedLegendData = null;
 | 
					  let extendedLegendData = null;
 | 
				
			||||||
  $: if ($nodeJobsData?.data) {
 | 
					  $: if ($nodeJobsData?.data) {
 | 
				
			||||||
    // Get Shared State of Node: Only Build extended Legend For Shared Nodes
 | 
					    // Build Extended for allocated nodes [Commented: Only Build extended Legend For Shared Nodes]
 | 
				
			||||||
    if ($nodeJobsData.data.jobs.count >= 1 && !$nodeJobsData.data.jobs.items[0].exclusive) {
 | 
					    if ($nodeJobsData.data.jobs.count >= 1) { // "&& !$nodeJobsData.data.jobs.items[0].exclusive)"
 | 
				
			||||||
      const accSet = Array.from(new Set($nodeJobsData.data.jobs.items
 | 
					      const accSet = Array.from(new Set($nodeJobsData.data.jobs.items
 | 
				
			||||||
        .map((i) => i.resources
 | 
					        .map((i) => i.resources
 | 
				
			||||||
          .filter((r) => r.hostname === nodeData.host)
 | 
					          .filter((r) => r.hostname === nodeData.host)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user