Added ability for when there is no image

This commit is contained in:
Finn 2017-09-05 13:52:05 +01:00
parent e7631dd90e
commit 60e6b2717e
2 changed files with 2 additions and 0 deletions

View file

@ -43,6 +43,8 @@ sub image {
if ( $transaction->proof_image ) {
$c->reply->asset($c->get_file_from_uuid($transaction->proof_image));
} else {
$c->reply->static('image/no_transaction.jpg');
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB