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

Display banner when permissions list change #11

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

yannlugrin
Copy link
Member

💬 Description

The banner will be shown if the permissions list in settings is not the same as the cookie.

🔢 To Review

  1. Run the dev app, accept the cookies
  2. Change the settings in index.html to add a new permissions
window.leckerliSettings {
  permissions: ['analytics_storage', 'ad_storage', 'test']
}
  1. reload the dev app, the banner will be shown.

@vercel
Copy link

vercel bot commented Oct 5, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
leckerli ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 5, 2023 1:40pm

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.

1 participant