Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable link to provider when required data is not available #28

Closed
fratsloos opened this issue Dec 18, 2023 · 0 comments
Closed

Disable link to provider when required data is not available #28

fratsloos opened this issue Dec 18, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@fratsloos
Copy link
Owner

fratsloos commented Dec 18, 2023

Describe the bug
When the aircraft has no flight number, the click to eg. Flightradar24 does not work because the null value is added in the link. The card should disable the external links if (some of) the data to construct the link is not available.

Expected behavior
When (some of) the data is not available the click handler should ignore the click.

Environment:

  • Home Assistant version: 2023.12.0
  • Card: 1.0.0-alpha
@fratsloos fratsloos added the bug Something isn't working label Dec 18, 2023
@fratsloos fratsloos self-assigned this Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant