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

Ensure table is defined when table=true passed #960

Merged
merged 1 commit into from
Oct 11, 2023
Merged

Ensure table is defined when table=true passed #960

merged 1 commit into from
Oct 11, 2023

Conversation

simon-leech
Copy link
Contributor

@simon-leech simon-leech commented Oct 11, 2023

If you pass queryparams: {"table": true} to an entry, there is a bug where is it currently defined as undefined.

This PR addresses that issue by ensuring it correctly calls _this.location?.layer?.tableCurrent()

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@simon-leech simon-leech added the Bug A genuine bug. There must be some form of error exception to work with. label Oct 11, 2023
Copy link
Member

@dbauszus-glx dbauszus-glx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm; should make more use of the logical and assignment.

@RobAndrewHurst RobAndrewHurst merged commit 13d4856 into GEOLYTIX:main Oct 11, 2023
@simon-leech simon-leech deleted the queryparams-table-true branch February 9, 2024 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A genuine bug. There must be some form of error exception to work with.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants