diff --git a/src/views/assets/Domain/DomainDetail/GatewayCreateUpdate.vue b/src/views/assets/Domain/DomainDetail/GatewayCreateUpdate.vue index f14ead8f3..20545bf4f 100644 --- a/src/views/assets/Domain/DomainDetail/GatewayCreateUpdate.vue +++ b/src/views/assets/Domain/DomainDetail/GatewayCreateUpdate.vue @@ -11,7 +11,7 @@ export default { BaseAssetCreateUpdate }, data() { - const platformType = this.$route.query.type + const platformType = this.$route.query.platform_type return { url: '/api/v1/assets/gateways/', updateInitial: async(initial) => { diff --git a/src/views/assets/Domain/DomainDetail/GatewayList.vue b/src/views/assets/Domain/DomainDetail/GatewayList.vue index b1727015f..3c84c65cc 100644 --- a/src/views/assets/Domain/DomainDetail/GatewayList.vue +++ b/src/views/assets/Domain/DomainDetail/GatewayList.vue @@ -134,7 +134,7 @@ export default { name: 'GatewayCreate', query: { domain: this.object.id, - type: 'linux', + platform_type: 'linux', category: 'host' } }