mirror of
https://github.com/meienberger/runtipi.git
synced 2024-08-17 08:00:26 +03:00
fix: hide open with internal ip if force_expose is true
This commit is contained in:
parent
d3cf19becc
commit
bea4268aaf
@ -2,7 +2,7 @@
|
||||
/* tslint:disable */
|
||||
|
||||
/**
|
||||
* Mock Service Worker (1.2.1).
|
||||
* Mock Service Worker (1.2.2).
|
||||
* @see https://github.com/mswjs/msw
|
||||
* - Please do NOT modify this file.
|
||||
* - Please do NOT serve this file on production.
|
||||
|
@ -84,10 +84,12 @@ export const AppActions: React.FC<IProps> = ({ app, status, localDomain, onInsta
|
||||
<IconLock className="text-muted me-2" size={16} />
|
||||
{app.id}.{localDomain}
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem onClick={() => onOpen('local')}>
|
||||
<IconLockOff className="text-muted me-2" size={16} />
|
||||
{window.location.hostname}:{app.info.port}
|
||||
</DropdownMenuItem>
|
||||
{!app.info.force_expose && (
|
||||
<DropdownMenuItem onClick={() => onOpen('local')}>
|
||||
<IconLockOff className="text-muted me-2" size={16} />
|
||||
{window.location.hostname}:{app.info.port}
|
||||
</DropdownMenuItem>
|
||||
)}
|
||||
</DropdownMenuGroup>
|
||||
</DropdownMenuContent>
|
||||
</DropdownMenu>
|
||||
|
Loading…
Reference in New Issue
Block a user