From 0fd513906b3cfc4f09c3f4ed8d2ef011989eb110 Mon Sep 17 00:00:00 2001 From: Kitty Jose Date: Wed, 1 Feb 2023 16:43:42 +0000 Subject: [PATCH] changing names to TerminusCMS --- packages/tdb-dashboard/src/clientUtils.js | 3 ++- packages/tdb-dashboard/src/components/ServerError.js | 4 ++-- packages/tdb-dashboard/src/components/constants.js | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/tdb-dashboard/src/clientUtils.js b/packages/tdb-dashboard/src/clientUtils.js index 32331086..44b8ee31 100644 --- a/packages/tdb-dashboard/src/clientUtils.js +++ b/packages/tdb-dashboard/src/clientUtils.js @@ -12,7 +12,8 @@ export function createClientUser(useAuth0,params){ clientUser.firstLogin = user && user['http://terminusdb.com/schema/system#afterSignUp'] ? true : false // the agentName is the userID clientUser.user = clientUser.agentName - clientUser.serverType = "TerminusX" + //clientUser.serverType = "TerminusX" + clientUser.serverType = "TerminusCMS" }catch(err){ const lastuser = localStorage.getItem("Terminusdb-USER") //|| params.user clientUser = {email: lastuser } diff --git a/packages/tdb-dashboard/src/components/ServerError.js b/packages/tdb-dashboard/src/components/ServerError.js index 61ba1146..f498ab83 100644 --- a/packages/tdb-dashboard/src/components/ServerError.js +++ b/packages/tdb-dashboard/src/components/ServerError.js @@ -6,7 +6,7 @@ import { ChangeUser } from "./ChangeUser" export const ServerError = (props) => { const {clientUser } = WOQLClientObj() - const serverType = clientUser ? clientUser.serverType : "TerminusX" + const serverType = clientUser ? clientUser.serverType : "TerminusCMS" const gotoMainPage= ()=>{ const base = process.env.BASE_URL ? `/${process.env.BASE_URL}` : "/" @@ -27,7 +27,7 @@ export const ServerError = (props) => { Go to Teams } {clientUser.connection_type !=="LOCAL" && - + {`Please contact the ${serverType} Team`} } diff --git a/packages/tdb-dashboard/src/components/constants.js b/packages/tdb-dashboard/src/components/constants.js index 2dda023f..8ae327d9 100644 --- a/packages/tdb-dashboard/src/components/constants.js +++ b/packages/tdb-dashboard/src/components/constants.js @@ -11,7 +11,7 @@ import {GrGraphQl} from "react-icons/gr" import {BiGitPullRequest} from "react-icons/bi" //User Messages -export const SERVER_LOADING_MESSAGE = "Setting up TerminusX Cloud ... " +export const SERVER_LOADING_MESSAGE = "Setting up TerminusCMS ... " export const SCHEMA_LOADING_MESSAGE = "The schema being loaded... "