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

[v5] Preview button visible with preview: false #6891

Closed
medienbaecker opened this issue Jan 10, 2025 · 0 comments · Fixed by #6897
Closed

[v5] Preview button visible with preview: false #6891

medienbaecker opened this issue Jan 10, 2025 · 0 comments · Fixed by #6897
Assignees
Milestone

Comments

@medienbaecker
Copy link
Contributor

Description

Even if I set disable preview in the page blueprint, the preview button is visible in the page's dropdown (e.g. in a pages section). While the view button on the page is hidden, this dropdown button is still visible and clickable — leading to an error being thrown: "The preview is not available".

Expected behavior
The preview button should be hidden.

Screenshots

CleanShot 2025-01-10 at 11 34 06@2x

To reproduce

  1. Disable the preview for a page
options:
  preview: false
  1. Open the page's dropdown in a pages section

Your setup

Kirby Version
5.0.0-beta.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

3 participants