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

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