diff --git a/procs/single_price_call.pg.sql b/procs/single_price_call.pg.sql index 5c98da3..1006979 100644 --- a/procs/single_price_call.pg.sql +++ b/procs/single_price_call.pg.sql @@ -475,7 +475,8 @@ BEGIN ), jsonb_build_object( 'label', 'Target Support', - 'details', _tmath + 'details', + COALESCE(_tmath, jsonb_build_object('label','No Target','value','','type','text','note','')) ), jsonb_build_object( 'label', 'Guidance',