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