Problem:
Conditional display of heading if view is empty or not have any results
Solution:
What you should do is, try to add a conditional block and configure it to check with view's shortcode and further select "number of items found in view" and setup your conditional display and then move the conditional block between view's output and view's loop section.
A user reported that he is trying to use "toolset_connect_posts" function in a function attached to Gravity Form's hook to connect two posts in a relationship, but it doesn't seem to work.
Solution:
During troubleshooting, it emerged that the correct relationship slug needed to be used.