Commit d8a175e5 authored by Andy Mardesich's avatar Andy Mardesich

baseURL fiddle

parent fd63159d
Pipeline #10266 failed with stages
in 23 seconds
_build
config/local*
config/*.env
config/env.sh
coverage
node_modules
uploads
......
......@@ -165,7 +165,7 @@ const Dashboard = props => {
currentUser={currentUser}
history={history}
key="createSubmission"
scienceOfficer={globalScienceOfficerTeam.members[0]}
scienceOfficer={globalScienceOfficerTeam ? globalScienceOfficerTeam.members[0] : null}
/>,
]
......@@ -207,7 +207,7 @@ const Dashboard = props => {
{isGlobal && (
<Section
editors={globalEditorTeam.members}
editors={globalEditorTeam ? globalEditorTeam.members : []}
itemComponent={EditorSectionItem}
items={editorArticles}
label="Editor Section"
......
......@@ -3,6 +3,7 @@
"pubsweet-component-signup",
"pubsweet-component-password-reset-backend",
"pubsweet-component-password-reset-frontend",
"pubsweet-component-users-manager",
"./app/wbApi",
"./server/manuscript/src",
"./server/review/src"
......
......@@ -24,7 +24,8 @@ const logger = new winston.Logger({
module.exports = {
'pubsweet-client': {
baseUrl: deferConfig(
cfg => `http://localhost:${cfg['pubsweet-server'].port}`,
// cfg => `http://localhost:${cfg['pubsweet-server'].port}`,
cfg => '',
),
},
'pubsweet-server': {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment