hotfix: fix cloud-iox user feedback reporting tags

pull/4745/head
Scott Anderson 2023-02-03 12:24:59 -07:00
parent 999f6d601f
commit 49b95e6f3a
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ const pageData = {
host: location.hostname,
path: location.pathname,
product: pathArr[0],
version: (/^v\d/.test(pathArr[1]) || pathArr[1] === "cloud" ? pathArr[1].replace(/^v/, '') : "n/a"),
version: (/^v\d/.test(pathArr[1]) || pathArr[1].includes('cloud') ? pathArr[1].replace(/^v/, '') : "n/a"),
}
// Hijack form submission and send feedback data to be stored.