Make stopped tiles link to app page instead of nowhere
This commit is contained in:
parent
1a71656508
commit
6d02f1db3f
|
|
@ -33,9 +33,9 @@ export function Urls({ render }: { render: () => void }) {
|
||||||
return (
|
return (
|
||||||
<Tile
|
<Tile
|
||||||
key={app.name}
|
key={app.name}
|
||||||
href={running ? url : undefined}
|
href={running ? url : '#'}
|
||||||
target={running ? '_blank' : undefined}
|
target={running ? '_blank' : undefined}
|
||||||
style={running ? undefined : { cursor: 'default' }}
|
onClick={running ? undefined : openAppPage}
|
||||||
>
|
>
|
||||||
<TileStatus state={app.state} onClick={openAppPage} />
|
<TileStatus state={app.state} onClick={openAppPage} />
|
||||||
<TileIcon>{app.icon}</TileIcon>
|
<TileIcon>{app.icon}</TileIcon>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user