Use layout shorthand
This commit is contained in:
parent
6f9c5f1366
commit
6308bb139f
10 changed files with 10 additions and 10 deletions
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue