From 6308bb139f56856c75a074a846ee94a3bc67b2e4 Mon Sep 17 00:00:00 2001 From: Jonathan Reinink Date: Wed, 18 Dec 2019 13:49:19 -0500 Subject: [PATCH] Use layout shorthand --- resources/js/Pages/Contacts/Create.vue | 2 +- resources/js/Pages/Contacts/Edit.vue | 2 +- resources/js/Pages/Contacts/Index.vue | 2 +- resources/js/Pages/Organizations/Create.vue | 2 +- resources/js/Pages/Organizations/Edit.vue | 2 +- resources/js/Pages/Organizations/Index.vue | 2 +- resources/js/Pages/Reports/Index.vue | 2 +- resources/js/Pages/Users/Create.vue | 2 +- resources/js/Pages/Users/Edit.vue | 2 +- resources/js/Pages/Users/Index.vue | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/resources/js/Pages/Contacts/Create.vue b/resources/js/Pages/Contacts/Create.vue index b4e4e12..ea90dd4 100644 --- a/resources/js/Pages/Contacts/Create.vue +++ b/resources/js/Pages/Contacts/Create.vue @@ -41,7 +41,7 @@ import TextInput from '@/Shared/TextInput' export default { metaInfo: { title: 'Create Contact' }, - layout: (h, page) => h(Layout, [page]), + layout: Layout, components: { LoadingButton, SelectInput, diff --git a/resources/js/Pages/Contacts/Edit.vue b/resources/js/Pages/Contacts/Edit.vue index a0d4582..37e8818 100644 --- a/resources/js/Pages/Contacts/Edit.vue +++ b/resources/js/Pages/Contacts/Edit.vue @@ -51,7 +51,7 @@ export default { title: `${this.form.first_name} ${this.form.last_name}`, } }, - layout: (h, page) => h(Layout, [page]), + layout: Layout, components: { LoadingButton, SelectInput, diff --git a/resources/js/Pages/Contacts/Index.vue b/resources/js/Pages/Contacts/Index.vue index 68d3445..4b2b3d6 100644 --- a/resources/js/Pages/Contacts/Index.vue +++ b/resources/js/Pages/Contacts/Index.vue @@ -73,7 +73,7 @@ import throttle from 'lodash/throttle' export default { metaInfo: { title: 'Contacts' }, - layout: (h, page) => h(Layout, [page]), + layout: Layout, components: { Icon, Pagination, diff --git a/resources/js/Pages/Organizations/Create.vue b/resources/js/Pages/Organizations/Create.vue index e232de8..800bac7 100644 --- a/resources/js/Pages/Organizations/Create.vue +++ b/resources/js/Pages/Organizations/Create.vue @@ -36,7 +36,7 @@ import TextInput from '@/Shared/TextInput' export default { metaInfo: { title: 'Create Organization' }, - layout: (h, page) => h(Layout, [page]), + layout: Layout, components: { LoadingButton, SelectInput, diff --git a/resources/js/Pages/Organizations/Edit.vue b/resources/js/Pages/Organizations/Edit.vue index f1d7af0..4c6c9f5 100644 --- a/resources/js/Pages/Organizations/Edit.vue +++ b/resources/js/Pages/Organizations/Edit.vue @@ -81,7 +81,7 @@ export default { metaInfo() { return { title: this.form.name } }, - layout: (h, page) => h(Layout, [page]), + layout: Layout, components: { Icon, LoadingButton, diff --git a/resources/js/Pages/Organizations/Index.vue b/resources/js/Pages/Organizations/Index.vue index 0e69396..0957cd9 100644 --- a/resources/js/Pages/Organizations/Index.vue +++ b/resources/js/Pages/Organizations/Index.vue @@ -65,7 +65,7 @@ import throttle from 'lodash/throttle' export default { metaInfo: { title: 'Organizations' }, - layout: (h, page) => h(Layout, [page]), + layout: Layout, components: { Icon, Pagination, diff --git a/resources/js/Pages/Reports/Index.vue b/resources/js/Pages/Reports/Index.vue index 1382576..d0bfd1c 100644 --- a/resources/js/Pages/Reports/Index.vue +++ b/resources/js/Pages/Reports/Index.vue @@ -9,6 +9,6 @@ import Layout from '@/Shared/Layout' export default { metaInfo: { title: 'Reports' }, - layout: (h, page) => h(Layout, [page]), + layout: Layout, } diff --git a/resources/js/Pages/Users/Create.vue b/resources/js/Pages/Users/Create.vue index a999c34..807701b 100644 --- a/resources/js/Pages/Users/Create.vue +++ b/resources/js/Pages/Users/Create.vue @@ -34,7 +34,7 @@ import FileInput from '@/Shared/FileInput' export default { metaInfo: { title: 'Create User' }, - layout: (h, page) => h(Layout, [page]), + layout: Layout, components: { LoadingButton, SelectInput, diff --git a/resources/js/Pages/Users/Edit.vue b/resources/js/Pages/Users/Edit.vue index c73cde2..2080fed 100644 --- a/resources/js/Pages/Users/Edit.vue +++ b/resources/js/Pages/Users/Edit.vue @@ -47,7 +47,7 @@ export default { title: `${this.form.first_name} ${this.form.last_name}`, } }, - layout: (h, page) => h(Layout, [page]), + layout: Layout, components: { LoadingButton, SelectInput, diff --git a/resources/js/Pages/Users/Index.vue b/resources/js/Pages/Users/Index.vue index 3343703..907c80b 100644 --- a/resources/js/Pages/Users/Index.vue +++ b/resources/js/Pages/Users/Index.vue @@ -70,7 +70,7 @@ import throttle from 'lodash/throttle' export default { metaInfo: { title: 'Users' }, - layout: (h, page) => h(Layout, [page]), + layout: Layout, components: { Icon, SearchFilter,