lib: multiBalanceReport: Get --drop working with multiBalanceReports.
This commit is contained in:
		
							parent
							
								
									6467c252c7
								
							
						
					
					
						commit
						cd41404fd4
					
				@ -348,7 +348,7 @@ displayedAccounts ropts q valuedaccts =
 | 
				
			|||||||
    displayedName name
 | 
					    displayedName name
 | 
				
			||||||
        | depth == 0  = DisplayName "..." "..." 0
 | 
					        | depth == 0  = DisplayName "..." "..." 0
 | 
				
			||||||
        | tree_ ropts = treeDisplayName name
 | 
					        | tree_ ropts = treeDisplayName name
 | 
				
			||||||
        | otherwise   = flatDisplayName name
 | 
					        | otherwise   = DisplayName name (accountNameDrop (drop_ ropts) name) 0
 | 
				
			||||||
      where
 | 
					      where
 | 
				
			||||||
        elided = accountNameFromComponents . reverse . map accountLeafName $
 | 
					        elided = accountNameFromComponents . reverse . map accountLeafName $
 | 
				
			||||||
            name : takeWhile (not . isDisplayed) parents
 | 
					            name : takeWhile (not . isDisplayed) parents
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user