- {userdata?.support && isArticlePage && (
-
+
+
)}
{tocLines.length > 0 ?
(
diff --git a/frontend/src/views/NewDashboard.jsx b/frontend/src/views/NewDashboard.jsx
index 2bbdc8b6..bf8b713c 100644
--- a/frontend/src/views/NewDashboard.jsx
+++ b/frontend/src/views/NewDashboard.jsx
@@ -109,8 +109,8 @@ const NewDashboard = (props) => {
const STATIC_TIME_PERCENT = 'TBD'
const STATIC_MONEY_PERCENT = 'TBD'
const kpis = [
- { value: timeFmt.display, title: timeFmt.title, label: 'Time saved', icon:
, percentage: STATIC_TIME_PERCENT, color: '#5cc879', disabled: true},
- { value: formatCurrencyCompact(totals.moneySavedDollars), label: 'Money saved', icon:
, percentage: STATIC_MONEY_PERCENT, color: '#5cc879', disabled: true, },
+ //{ value: timeFmt.display, title: timeFmt.title, label: 'Time saved', icon:
, percentage: STATIC_TIME_PERCENT, color: '#5cc879', disabled: true},
+ //{ value: formatCurrencyCompact(totals.moneySavedDollars), label: 'Money saved', icon:
, percentage: STATIC_MONEY_PERCENT, color: '#5cc879', disabled: true, },
{ value: String(unreadCount), label: 'Total errors', icon:
, percentage: "", color: '#f87171' },
{ value: String(readCount), label: 'Errors resolved', icon:
, percentage: "", color: '#5cc879' },
];
@@ -131,12 +131,12 @@ const NewDashboard = (props) => {
useEffect(() => {
const anyLoading =
- loadingSfw ||
- loadingRot ||
+ //loadingSfw ||
+ //loadingRot ||
loadingNoti ||
- loadingSelectedOrgStats ||
+ loadingSelectedOrgStats //||
!selectedOrganization ||
- !selectedOrgForStats;
+ //!selectedOrgForStats;
setShowOverlay(anyLoading);
}, [
loadingSfw,
@@ -397,6 +397,7 @@ const NewDashboard = (props) => {
headerSubtitle="Complete these steps to start seeing insights."
/>
)}
+
{showOverlay && (
@@ -405,6 +406,7 @@ const NewDashboard = (props) => {
)}
+
{/* Header / Greeting */}
{`${getGreeting()}, ${displayName ?? 'User'}!`}
diff --git a/frontend/src/views/UpdateAuthentication.jsx b/frontend/src/views/UpdateAuthentication.jsx
index a87fb192..9f4702ea 100644
--- a/frontend/src/views/UpdateAuthentication.jsx
+++ b/frontend/src/views/UpdateAuthentication.jsx
@@ -25,7 +25,7 @@ const SetAuthentication = (props) => {
const [loadFail, setLoadFail] = useState("");
const [appAuthentication, setAppAuthentication] = React.useState([]);
- const isCloud = (window.location.host === "localhost:3002" || window.location.host === "shuffler.io") ? true : (import.meta.env.VITE_IS_SSR === "true");
+ const isCloud = window.location.host === "localhost:3002" || window.location.host === "shuffler.io";
//const alert = useAlert();
const parseIncomingOpenapiData = (data) => {
diff --git a/frontend/src/views/Welcome.jsx b/frontend/src/views/Welcome.jsx
index 5f4409fd..0af565e0 100644
--- a/frontend/src/views/Welcome.jsx
+++ b/frontend/src/views/Welcome.jsx
@@ -47,7 +47,7 @@ const Welcome = (props) => {
}
}, [activeStep])
- const isCloud = (window.location.host === "localhost:3002" || window.location.host === "shuffler.io") ? true : (import.meta.env.VITE_IS_SSR === "true");
+ const isCloud = window.location.host === "localhost:3002" || window.location.host === "shuffler.io";
const [steps, setSteps] = useState([
"Help us get to know you",
"Find your Apps",