Use slug instead of id in mining blocks list component
This commit is contained in:
		
							parent
							
								
									9de8f78b30
								
							
						
					
					
						commit
						cc27b963d3
					
				| @ -25,7 +25,7 @@ | |||||||
|           </td> |           </td> | ||||||
|           <td class="pool text-left" [class]="widget ? 'widget' : ''"> |           <td class="pool text-left" [class]="widget ? 'widget' : ''"> | ||||||
|             <div class="tooltip-custom"> |             <div class="tooltip-custom"> | ||||||
|               <a class="clear-link" [routerLink]="['/mining/pool' | relativeUrl, block.extras.pool.id]"> |               <a class="clear-link" [routerLink]="['/mining/pool' | relativeUrl, block.extras.pool.slug]"> | ||||||
|                 <img width="25" height="25" src="{{ block.extras.pool['logo'] }}" |                 <img width="25" height="25" src="{{ block.extras.pool['logo'] }}" | ||||||
|                   onError="this.src = './resources/mining-pools/default.svg'"> |                   onError="this.src = './resources/mining-pools/default.svg'"> | ||||||
|                 <span class="pool-name">{{ block.extras.pool.name }}</span> |                 <span class="pool-name">{{ block.extras.pool.name }}</span> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user