User landingPages connect per role permission.

This commit is contained in:
Cüneyt Şentürk
2022-11-05 18:44:02 +03:00
parent 49920f0c46
commit 95bb91dcf5
6 changed files with 63 additions and 5 deletions

View File

@ -44,7 +44,7 @@
@endcan
@role('admin|manager')
<x-form.group.select name="roles" label="{{ trans_choice('general.roles', 1) }}" :options="$roles" />
<x-form.group.select name="roles" label="{{ trans_choice('general.roles', 1) }}" :options="$roles" change="onChangeRole" />
@endrole
</x-slot>
</x-form.section>
@ -56,7 +56,7 @@
</x-slot>
<x-slot name="body">
<x-form.group.select name="landing_page" label="{!! trans('auth.landing_page') !!}" :options="$landing_pages" selected="dashboard" />
<x-form.group.select name="landing_page" label="{!! trans('auth.landing_page') !!}" :options="$landing_pages" dynamicOptions="landing_pages" selected="dashboard" />
<x-form.group.locale />
</x-slot>