|
@@ -46,11 +46,11 @@ export default {
|
|
|
EntityEdit
|
|
EntityEdit
|
|
|
},
|
|
},
|
|
|
mixins: [mixinWidget],
|
|
mixins: [mixinWidget],
|
|
|
- data: () => {
|
|
|
|
|
|
|
+ data () {
|
|
|
return {
|
|
return {
|
|
|
mounted: false,
|
|
mounted: false,
|
|
|
entityLoading: true,
|
|
entityLoading: true,
|
|
|
- api: null,
|
|
|
|
|
|
|
+ api: APIGateway.product.APIAdresses.byId(this.$route.params.id),
|
|
|
entityIdKey: 'id',
|
|
entityIdKey: 'id',
|
|
|
entityParamKey: 'id',
|
|
entityParamKey: 'id',
|
|
|
showRouteName: 'Admin.Content.Show',
|
|
showRouteName: 'Admin.Content.Show',
|
|
@@ -73,9 +73,6 @@ export default {
|
|
|
]
|
|
]
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- created() {
|
|
|
|
|
- this.api = APIGateway.content.APIAdresses.byId(this.$route.params.id)
|
|
|
|
|
- },
|
|
|
|
|
mounted() {
|
|
mounted() {
|
|
|
this.setActionBtn()
|
|
this.setActionBtn()
|
|
|
this.mounted = true
|
|
this.mounted = true
|