Compare commits
3 Commits
d29e306e61
...
702019279a
| Author | SHA1 | Date | |
|---|---|---|---|
| 702019279a | |||
| 141622f86f | |||
| 526678e87a |
|
|
@ -7,7 +7,6 @@ import {
|
||||||
TileGrid,
|
TileGrid,
|
||||||
TileIcon,
|
TileIcon,
|
||||||
TileName,
|
TileName,
|
||||||
TilePort,
|
|
||||||
TileStatus,
|
TileStatus,
|
||||||
} from '../styles'
|
} from '../styles'
|
||||||
|
|
||||||
|
|
@ -21,7 +20,7 @@ export function Urls({ render }: { render: () => void }) {
|
||||||
return (
|
return (
|
||||||
<TileGrid narrow={isNarrow || undefined}>
|
<TileGrid narrow={isNarrow || undefined}>
|
||||||
{nonTools.map(app => {
|
{nonTools.map(app => {
|
||||||
const url = buildAppUrl(app.name, location.origin)
|
const url = app.tunnelUrl || buildAppUrl(app.name, location.origin)
|
||||||
const running = app.state === 'running'
|
const running = app.state === 'running'
|
||||||
const appPage = `/app/${app.name}`
|
const appPage = `/app/${app.name}`
|
||||||
|
|
||||||
|
|
@ -41,7 +40,6 @@ export function Urls({ render }: { render: () => void }) {
|
||||||
<TileStatus state={app.state} onClick={openAppPage} />
|
<TileStatus state={app.state} onClick={openAppPage} />
|
||||||
<TileIcon>{app.icon}</TileIcon>
|
<TileIcon>{app.icon}</TileIcon>
|
||||||
<TileName>{app.name}</TileName>
|
<TileName>{app.name}</TileName>
|
||||||
<TilePort>{app.port ? `:${app.port}` : '\u2014'}</TilePort>
|
|
||||||
</Tile>
|
</Tile>
|
||||||
)
|
)
|
||||||
})}
|
})}
|
||||||
|
|
|
||||||
|
|
@ -164,6 +164,7 @@ export const TabContent = define('TabContent', {
|
||||||
active: {
|
active: {
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
|
alignItems: 'center',
|
||||||
flex: 1,
|
flex: 1,
|
||||||
width: '100%',
|
width: '100%',
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user