From 5067229b513f11667f21893270192aeb5aba30b5 Mon Sep 17 00:00:00 2001 From: Sridhar Ramaswamy Date: Wed, 31 Jul 2024 12:31:59 -0700 Subject: [PATCH] Revert "Update Pebblo client key (#452)" This reverts commit 220f23a67ebbe5ced0582716dfbffd0aebff8bc6. --- pebblo/app/pebblo-ui/src/components/progressBar.js | 1 + pebblo/app/pebblo-ui/src/constants/constant.js | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pebblo/app/pebblo-ui/src/components/progressBar.js b/pebblo/app/pebblo-ui/src/components/progressBar.js index 808ae105..003990ea 100644 --- a/pebblo/app/pebblo-ui/src/components/progressBar.js +++ b/pebblo/app/pebblo-ui/src/components/progressBar.js @@ -6,6 +6,7 @@ export function ProgressBar(props) { if (id) { waitForElement(`#inner-${id}`, 1500).then(function () { const innerRect = document.getElementById(`inner-${id}`); + console.log({ id, innerRect }); innerRect.style.width = `${progress}%`; innerRect.style.backgroundColor = color; }); diff --git a/pebblo/app/pebblo-ui/src/constants/constant.js b/pebblo/app/pebblo-ui/src/constants/constant.js index be3ff3ed..64949d14 100644 --- a/pebblo/app/pebblo-ui/src/constants/constant.js +++ b/pebblo/app/pebblo-ui/src/constants/constant.js @@ -49,8 +49,7 @@ export const APP_DATA = export const PORT = window.location.port; export const SERVER_VERSION = APP_DATA_RESP?.pebbloServerVersion || ""; -export const CLIENT_VERSION = APP_DATA?.clientVersion?.version || ""; -const clientName = APP_DATA?.clientVersion?.name || ""; +export const CLIENT_VERSION = APP_DATA?.pebbloClientVersion || ""; export const NO_APPLICATIONS_FOUND = APP_DATA ? Object.keys(APP_DATA)?.length === 0 @@ -132,8 +131,8 @@ export const APP_DETAILS = [ value: getFormattedDate(APP_DATA?.instanceDetails?.createdAt, false, false), }, { - label: "Pebblo Client", - value: `${clientName} ${CLIENT_VERSION}`, + label: "Pebblo Client Version", + value: CLIENT_VERSION, }, { label: "Path",