Skip to content

Do not render a button in the hero and card components when the label and url are not defined #168

@apburnes

Description

@apburnes

When a user is adding and editing homepage heroes or card items, the button link should not render if they do not enter the button text or url

Acceptance Criteria

  • Update components to only render hero button when url and text is defined
  • Update card components to only render the link button when the url and text is defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions