SSR-1049 Update page variable name
This commit is contained in:
parent
0dfb25b886
commit
ffd5973226
1 changed files with 2 additions and 2 deletions
|
|
@ -2246,13 +2246,13 @@ export const useMainStore = defineStore({
|
||||||
|
|
||||||
setBailout(bailoutData) {
|
setBailout(bailoutData) {
|
||||||
const params = new URL(document.location.toString()).searchParams;
|
const params = new URL(document.location.toString()).searchParams;
|
||||||
const page = params.get('issPage');
|
const currentPage = params.get('issPage');
|
||||||
|
|
||||||
this.updatePageData({
|
this.updatePageData({
|
||||||
page: issPageValues.BAILOUT_PAGE,
|
page: issPageValues.BAILOUT_PAGE,
|
||||||
data: {
|
data: {
|
||||||
url: window.location.href,
|
url: window.location.href,
|
||||||
page: page || 'Unknown Page',
|
page: currentPage || 'Unknown Page',
|
||||||
bailoutCode: bailoutData.code,
|
bailoutCode: bailoutData.code,
|
||||||
errorMessage: bailoutData.message,
|
errorMessage: bailoutData.message,
|
||||||
submit: false
|
submit: false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue