Skip to content

Disable Show Relations button when queried feature has no associated relationships #608

@leolami

Description

@leolami

Checklist

  • I've searched through the current issues to make sure this feature hasn't been requested already.

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

Image

Image

Alternatives considered

No response

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions