Cambalab / vue-admin

An open source frontend Framework for building admin applications running in the browser on top of REST, using ES6 and Vue.js
GNU General Public License v3.0
132 stars 24 forks source link

The Admin component ignores custom unauthorized layouts #210

Closed sgobotta closed 4 years ago

sgobotta commented 4 years ago

Describe the bug When a custom Unauthorized is passed via unauthorized to Admin, it's ignored in the Admin component

To Reproduce Steps to reproduce the behavior:

  1. Use a custom unauthorized layout in the Admin component
  2. Go to an unauthorized view
  3. The default Unauthorized component is rendered

Expected behavior The provided component to the unauthorized prop should be rendered.

sgobotta commented 4 years ago

An authorized prop is missing in the (Admin) Composer.vue

sgobotta commented 4 years ago

Merged in #211