mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 11:48:04 +00:00
Fix analytics version
This commit is contained in:
@@ -2,8 +2,9 @@ const xhr = new XMLHttpRequest();
|
||||
xhr.onload = function () {
|
||||
if (xhr.readyState === XMLHttpRequest.DONE) {
|
||||
const status = JSON.parse(xhr.responseText);
|
||||
if (status.Analytics && status.version !== "dev") {
|
||||
enableDD(status.version)
|
||||
const version = status.CurVer
|
||||
if (status.Analytics && version !== "dev") {
|
||||
enableDD(version)
|
||||
enableHeap()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user