Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/tdb-dashboard/src/clientUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
4 changes: 2 additions & 2 deletions packages/tdb-dashboard/src/components/ServerError.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}` : "/"
Expand All @@ -27,7 +27,7 @@ export const ServerError = (props) => {
Go to Teams
</Button>}
{clientUser.connection_type !=="LOCAL" &&
<a href="https://discuss.terminusdb.com/" targert="_blank">
<a href="https://www.reddit.com/r/TerminusDB/" targert="_blank">
{`Please contact the ${serverType} Team`}
</a>
}
Expand Down
2 changes: 1 addition & 1 deletion packages/tdb-dashboard/src/components/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -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... "


Expand Down