Skip to content

Fix public-only toggle URL state#490

Merged
bmquinn merged 1 commit into
deploy/stagingfrom
preview/public-only-toggle
Jun 30, 2026
Merged

Fix public-only toggle URL state#490
bmquinn merged 1 commit into
deploy/stagingfrom
preview/public-only-toggle

Conversation

@bmquinn

@bmquinn bmquinn commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes the Public only switch requiring two clicks to turn off by removing the visibility query param instead of setting it to an empty array. Also keeps the switch controlled with a boolean checked value.

Changes

  • Clicking PublicOnlyWorks component now removes the query param instead of setting an empty array, toggles with one click.

Testing

@bmquinn
bmquinn requested a review from kdid June 29, 2026 21:13
@bmquinn
bmquinn merged commit 8923709 into deploy/staging Jun 30, 2026
3 checks passed
@bmquinn
bmquinn deleted the preview/public-only-toggle branch June 30, 2026 15:09
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.

3 participants