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 {
metaInfo: { title: 'Create Contact' },
layout: (h, page) => h(Layout, [page]),
layout: Layout,
components: {
LoadingButton,
SelectInput,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

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

View File

@ -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,

View File

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

View File

@ -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,

View File

@ -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,

View File

@ -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,