Use layout shorthand
This commit is contained in:
parent
6f9c5f1366
commit
6308bb139f
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -81,7 +81,7 @@ export default {
|
|||
metaInfo() {
|
||||
return { title: this.form.name }
|
||||
},
|
||||
layout: (h, page) => h(Layout, [page]),
|
||||
layout: Layout,
|
||||
components: {
|
||||
Icon,
|
||||
LoadingButton,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -9,6 +9,6 @@ import Layout from '@/Shared/Layout'
|
|||
|
||||
export default {
|
||||
metaInfo: { title: 'Reports' },
|
||||
layout: (h, page) => h(Layout, [page]),
|
||||
layout: Layout,
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue