X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/75db1e88374315f84fdfb30faee84253e1383a28..c4489d532c800a91ea66f3aaec98fc4a299e3e1e:/src/index.tsx diff --git a/src/index.tsx b/src/index.tsx index 443e76f3..bee08c80 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -28,8 +28,8 @@ import { collectionFilesItemActionSet } from './views-components/context-menu/ac import { collectionActionSet } from './views-components/context-menu/action-sets/collection-action-set'; import { collectionResourceActionSet } from './views-components/context-menu/action-sets/collection-resource-action-set'; -const getBuildNumber = () => "BN-" + (process.env.BUILD_NUMBER || "dev"); -const getGitCommit = () => "GIT-" + (process.env.GIT_COMMIT || "latest").substr(0, 7); +const getBuildNumber = () => "BN-" + (process.env.REACT_APP_BUILD_NUMBER || "dev"); +const getGitCommit = () => "GIT-" + (process.env.REACT_APP_GIT_COMMIT || "latest").substr(0, 7); const getBuildInfo = () => getBuildNumber() + " / " + getGitCommit(); const buildInfo = getBuildInfo(); @@ -52,7 +52,7 @@ fetchConfig() const store = configureStore(history, services); store.dispatch(initAuth()); - store.dispatch(getProjectList(services.authService.getUuid())); + store.dispatch(getProjectList(services.authService.getUuid())); const TokenComponent = (props: any) => ; const WorkbenchComponent = (props: any) => ;