Changeset View
Changeset View
Standalone View
Standalone View
js_modules/dagit/packages/app/src/index.tsx
Show All 23 Lines | : { | ||||
permissions: {}, | permissions: {}, | ||||
}; | }; | ||||
const permissions = | const permissions = | ||||
identity.permissions === '[permissions_here]' ? PERMISSIONS_ALLOW_ALL : identity.permissions; | identity.permissions === '[permissions_here]' ? PERMISSIONS_ALLOW_ALL : identity.permissions; | ||||
const config = { | const config = { | ||||
basePath: pathPrefix, | basePath: pathPrefix, | ||||
graphqlURI: process.env.REACT_APP_GRAPHQL_URI || '', | origin: process.env.REACT_APP_BACKEND_ORIGIN || document.location.origin, | ||||
permissions, | permissions, | ||||
}; | }; | ||||
const appCache = createAppCache(); | const appCache = createAppCache(); | ||||
const SettingsLink = styled(Link)` | const SettingsLink = styled(Link)` | ||||
background-color: ${Colors.DARK_GRAY1}; | background-color: ${Colors.DARK_GRAY1}; | ||||
padding: 15px; | padding: 15px; | ||||
Show All 25 Lines |