Transaction and block header hex external URL should be relative to the network.
This commit is contained in:
		
							parent
							
								
									7a8b2db3fb
								
							
						
					
					
						commit
						11817c04f7
					
				| @ -116,7 +116,7 @@ | ||||
|                 </tr> | ||||
|                 <tr> | ||||
|                   <td i18n="block.header">Block Header Hex</td> | ||||
|                   <td><a target="_blank" href="/api/block/{{block.id}}/header"><fa-icon [icon]="['fas', 'external-link-alt']" [fixedWidth]="true"></fa-icon></a></td> | ||||
|                   <td><a target="_blank" href="{{ network === '' ? '' : '/' + network }}/api/block/{{block.id}}/header"><fa-icon [icon]="['fas', 'external-link-alt']" [fixedWidth]="true"></fa-icon></a></td> | ||||
|                 </tr> | ||||
|               </tbody> | ||||
|             </table> | ||||
|  | ||||
| @ -218,7 +218,7 @@ | ||||
|           </tr> | ||||
|           <tr> | ||||
|             <td i18n="transaction.hex">Transaction Hex</td> | ||||
|             <td><a target="_blank" href="/api/tx/{{ txId }}/hex"><fa-icon [icon]="['fas', 'external-link-alt']" [fixedWidth]="true"></fa-icon></a></td> | ||||
|             <td><a target="_blank" href="{{ network === '' ? '' : '/' + network }}/api/tx/{{ txId }}/hex"><fa-icon [icon]="['fas', 'external-link-alt']" [fixedWidth]="true"></fa-icon></a></td> | ||||
|           </tr> | ||||
|         </tbody> | ||||
|       </table> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user