diff --git a/src/components/ErrataInfo.vue b/src/components/ErrataInfo.vue
index 5894c70..6755729 100644
--- a/src/components/ErrataInfo.vue
+++ b/src/components/ErrataInfo.vue
@@ -1022,17 +1022,18 @@
}
})
if (build_tasks.length) {
- let request_body = {
+ let requestBody = {
builds: Array.from(builds),
build_tasks: build_tasks,
+ // product_id should not be hardcoded
product_id: 1, //AlmaLinux product
platform_id: this.advisory.platform_id,
reference_platform_id: this.advisory.platform_id,
}
- request_body = JSON.stringify(request_body)
+ requestBody = JSON.stringify(requestBody)
this.$router.push({
name: 'ErrataRelease',
- params: {request_body},
+ query: {requestBody},
})
} else {
Notify.create({
diff --git a/src/pages/ErrataRelease.vue b/src/pages/ErrataRelease.vue
index d03d376..28c98d9 100644
--- a/src/pages/ErrataRelease.vue
+++ b/src/pages/ErrataRelease.vue
@@ -1,42 +1,40 @@
-
+
diff --git a/src/router/routes.js b/src/router/routes.js
index 32421f1..0b260a1 100644
--- a/src/router/routes.js
+++ b/src/router/routes.js
@@ -132,7 +132,6 @@ const routes = [
name: 'ErrataRelease',
meta: {requiresAuth: true},
component: () => import('pages/ErrataRelease.vue'),
- props: (route) => ({...route.params}),
},
{
path: 'release-feed',