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

Open
medienbaecker opened this issue Jan 10, 2025 · 0 comments
Open

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

medienbaecker opened this issue Jan 10, 2025 · 0 comments
Labels
type: bug 🐛 Is a bug; fixes a bug
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

@distantnative distantnative added the type: bug 🐛 Is a bug; fixes a bug label Jan 10, 2025
@distantnative distantnative added this to the 5.0.0-beta.2 milestone Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Is a bug; fixes a bug
Projects
None yet
Development

No branches or pull requests

2 participants