diff --git a/src/views/assets/Platform/PlatformCreateUpdate.vue b/src/views/assets/Platform/PlatformCreateUpdate.vue index f899ff2d1..7dcb530fe 100644 --- a/src/views/assets/Platform/PlatformCreateUpdate.vue +++ b/src/views/assets/Platform/PlatformCreateUpdate.vue @@ -135,8 +135,8 @@ export default { return new Promise((resolve, reject) => resolve(true)) }, async setConstraints() { - const category = this.$route.query.category - const type = this.$route.query.type + const category = this.$route.query._category + const type = this.$route.query._type const url = `/api/v1/assets/categories/constraints/?category=${category}&type=${type}` const constraints = await this.$axios.get(url) this.defaultOptions = constraints