fix hledger-web build error
This commit is contained in:
		
							parent
							
								
									5ccfb9cf7a
								
							
						
					
					
						commit
						6f0f1acf7e
					
				| @ -516,7 +516,7 @@ handleAdd = do | |||||||
|    Right t -> do |    Right t -> do | ||||||
|     let t' = txnTieKnot t -- XXX move into balanceTransaction |     let t' = txnTieKnot t -- XXX move into balanceTransaction | ||||||
|     liftIO $ do ensureJournalFile journalpath |     liftIO $ do ensureJournalFile journalpath | ||||||
|                 appendToJournalFile journalpath $ showTransaction t' |                 appendToJournalFileOrStdout journalpath $ showTransaction t' | ||||||
|     -- setMessage $ toHtml $ (printf "Added transaction:\n%s" (show t') :: String) |     -- setMessage $ toHtml $ (printf "Added transaction:\n%s" (show t') :: String) | ||||||
|     setMessage [$hamlet|<span>Added transaction:<small><pre>#{chomp $ show t'}</pre></small>|] |     setMessage [$hamlet|<span>Added transaction:<small><pre>#{chomp $ show t'}</pre></small>|] | ||||||
|     redirectParams RedirectTemporary RegisterR [("add","1")] |     redirectParams RedirectTemporary RegisterR [("add","1")] | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user