mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 23:45:48 +01:00
@@ -164,7 +164,7 @@ export default function ContainerActionBar({ selected, reload }: ContainerAction
|
|||||||
disabled={selected.length === 0 || selected.length > 1}
|
disabled={selected.length === 0 || selected.length > 1}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
const app = tryMatchService(selected.at(0)!);
|
const app = tryMatchService(selected.at(0)!);
|
||||||
const containerUrl = `http://localhost:${selected[0].Ports[0].PublicPort}`;
|
const containerUrl = `http://localhost:${selected[0].Ports[0]?.PublicPort ?? 0}`;
|
||||||
openContextModalGeneric<{ app: AppType; allowAppNamePropagation: boolean }>({
|
openContextModalGeneric<{ app: AppType; allowAppNamePropagation: boolean }>({
|
||||||
modal: 'editApp',
|
modal: 'editApp',
|
||||||
zIndex: 1000,
|
zIndex: 1000,
|
||||||
|
|||||||
Reference in New Issue
Block a user