Use layout shorthand

This commit is contained in:
Jonathan Reinink 2019-12-18 13:49:19 -05:00
parent 6f9c5f1366
commit 6308bb139f
10 changed files with 10 additions and 10 deletions

View file

@ -41,7 +41,7 @@ import TextInput from '@/Shared/TextInput'
export default { export default {
metaInfo: { title: 'Create Contact' }, metaInfo: { title: 'Create Contact' },
layout: (h, page) => h(Layout, [page]), layout: Layout,
components: { components: {
LoadingButton, LoadingButton,
SelectInput, SelectInput,

View file

@ -51,7 +51,7 @@ export default {
title: `${this.form.first_name} ${this.form.last_name}`, title: `${this.form.first_name} ${this.form.last_name}`,
} }
}, },
layout: (h, page) => h(Layout, [page]), layout: Layout,
components: { components: {
LoadingButton, LoadingButton,
SelectInput, SelectInput,

View file

@ -73,7 +73,7 @@ import throttle from 'lodash/throttle'
export default { export default {
metaInfo: { title: 'Contacts' }, metaInfo: { title: 'Contacts' },
layout: (h, page) => h(Layout, [page]), layout: Layout,
components: { components: {
Icon, Icon,
Pagination, Pagination,

View file

@ -36,7 +36,7 @@ import TextInput from '@/Shared/TextInput'
export default { export default {
metaInfo: { title: 'Create Organization' }, metaInfo: { title: 'Create Organization' },
layout: (h, page) => h(Layout, [page]), layout: Layout,
components: { components: {
LoadingButton, LoadingButton,
SelectInput, SelectInput,

View file

@ -81,7 +81,7 @@ export default {
metaInfo() { metaInfo() {
return { title: this.form.name } return { title: this.form.name }
}, },
layout: (h, page) => h(Layout, [page]), layout: Layout,
components: { components: {
Icon, Icon,
LoadingButton, LoadingButton,

View file

@ -65,7 +65,7 @@ import throttle from 'lodash/throttle'
export default { export default {
metaInfo: { title: 'Organizations' }, metaInfo: { title: 'Organizations' },
layout: (h, page) => h(Layout, [page]), layout: Layout,
components: { components: {
Icon, Icon,
Pagination, Pagination,

View file

@ -9,6 +9,6 @@ import Layout from '@/Shared/Layout'
export default { export default {
metaInfo: { title: 'Reports' }, metaInfo: { title: 'Reports' },
layout: (h, page) => h(Layout, [page]), layout: Layout,
} }
</script> </script>

View file

@ -34,7 +34,7 @@ import FileInput from '@/Shared/FileInput'
export default { export default {
metaInfo: { title: 'Create User' }, metaInfo: { title: 'Create User' },
layout: (h, page) => h(Layout, [page]), layout: Layout,
components: { components: {
LoadingButton, LoadingButton,
SelectInput, SelectInput,

View file

@ -47,7 +47,7 @@ export default {
title: `${this.form.first_name} ${this.form.last_name}`, title: `${this.form.first_name} ${this.form.last_name}`,
} }
}, },
layout: (h, page) => h(Layout, [page]), layout: Layout,
components: { components: {
LoadingButton, LoadingButton,
SelectInput, SelectInput,

View file

@ -70,7 +70,7 @@ import throttle from 'lodash/throttle'
export default { export default {
metaInfo: { title: 'Users' }, metaInfo: { title: 'Users' },
layout: (h, page) => h(Layout, [page]), layout: Layout,
components: { components: {
Icon, Icon,
SearchFilter, SearchFilter,