rpitv / glimpse

Monorepo for the RPI TV Glimpse project
MIT License
3 stars 1 forks source link

Change page layout to plain-layout when NoPermissionView is used #26

Open robere2 opened 2 years ago

robere2 commented 2 years ago

The Contact Us page uses wave-layout, however it is a restricted page which is only visible if the user has permission to create ContactSubmissions. If not, then NoPermissionView is rendered instead, but wave-layout is still rendered. It should render plain-layout.