Added ability for when there is no image
This commit is contained in:
parent
e7631dd90e
commit
60e6b2717e
2 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,8 @@ sub image {
|
||||||
|
|
||||||
if ( $transaction->proof_image ) {
|
if ( $transaction->proof_image ) {
|
||||||
$c->reply->asset($c->get_file_from_uuid($transaction->proof_image));
|
$c->reply->asset($c->get_file_from_uuid($transaction->proof_image));
|
||||||
|
} else {
|
||||||
|
$c->reply->static('image/no_transaction.jpg');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
BIN
public/image/no_transaction.jpg
Normal file
BIN
public/image/no_transaction.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
Reference in a new issue