mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	CKS: fix wrong format of cluster size on UI (#8182)
This commit is contained in:
		
							parent
							
								
									1e133d05c7
								
							
						
					
					
						commit
						e6f048bc2e
					
				| @ -194,7 +194,10 @@ | |||||||
|       <router-link :to="{ path: '/volume/' + record.volumeid }">{{ text }}</router-link> |       <router-link :to="{ path: '/volume/' + record.volumeid }">{{ text }}</router-link> | ||||||
|     </template> |     </template> | ||||||
|     <template #size="{ text }"> |     <template #size="{ text }"> | ||||||
|       <span v-if="text"> |       <span v-if="text && $route.path === '/kubernetes'"> | ||||||
|  |         {{ text }} | ||||||
|  |       </span> | ||||||
|  |       <span v-else-if="text"> | ||||||
|         {{ parseFloat(parseFloat(text) / 1024.0 / 1024.0 / 1024.0).toFixed(2) }} GiB |         {{ parseFloat(parseFloat(text) / 1024.0 / 1024.0 / 1024.0).toFixed(2) }} GiB | ||||||
|       </span> |       </span> | ||||||
|     </template> |     </template> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user