Skip to content

Allow disabling selectors#1626

Merged
humitos merged 1 commit intomasterfrom
humitos/disable-version-selectors
Nov 4, 2024
Merged

Allow disabling selectors#1626
humitos merged 1 commit intomasterfrom
humitos/disable-version-selectors

Conversation

@humitos
Copy link
Member

@humitos humitos commented Oct 31, 2024

There was a bug with how we render a Python bool value into JavaScript. This PR fixes that issue.

Closes #1620

There was a bug with how we render a Python bool value into JavaScript.
This PR fixes that issue.

Closes #1620
@humitos humitos requested a review from a team as a code owner October 31, 2024 14:53
Copy link
Collaborator

@agjohnson agjohnson left a comment

Choose a reason for hiding this comment

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

I didn't catch that either of these were boolean, I assumed they were query selector strings. This is where I prefer to use naming to illustration the variable use: hasVersionSelector and hasLanguageSelector are more obviously boolean.

@humitos humitos merged commit 5db7796 into master Nov 4, 2024
@humitos humitos deleted the humitos/disable-version-selectors branch November 4, 2024 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Version selector appears even with 'version_selector': False

2 participants