Truncate node alias if it's too long
This commit is contained in:
		
							parent
							
								
									f19978345e
								
							
						
					
					
						commit
						930f1e4f09
					
				| @ -1,7 +1,7 @@ | ||||
| <div class="container-xl" *ngIf="(node$ | async) as node"> | ||||
|   <h5 class="mb-0" style="color: #ffffff66" i18n="lightning.node">Lightning node</h5> | ||||
|   <div class="title-container mb-2" *ngIf="!error"> | ||||
|     <h1 class="mb-0">{{ node.alias }}</h1> | ||||
|     <h1 class="mb-0 text-truncate">{{ node.alias }}</h1> | ||||
|     <span class="tx-link"> | ||||
|       <a [routerLink]="['/lightning/node' | relativeUrl, node.public_key]"> | ||||
|         {{ node.public_key | shortenString : publicKeySize }} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user