Checklist
Motivation
When I query a feature of a layer with a 1:N relationship I see the link to the related table even if there are no registered relationships
Suggested solution
The link should be made unclickable (grayed out) if the relations table is empty
Both on the form and on the list of relations shown by the relevant button


Alternatives considered
No response