MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / usePortEditDialog

Function usePortEditDialog

frontend/src/components/fc/index.ts:95–102  ·  view source on GitHub ↗
(data: PortConfigItem[] = [])

Source from the content-addressed store, hash-verified

93}
94
95export async function usePortEditDialog(data: PortConfigItem[] = []) {
96 return (
97 (await useMountComponent({
98 data,
99 textarea: false
100 }).mount<PortConfigItem[]>(DockerPortDialog)) || []
101 );
102}
103
104export async function useVolumeEditDialog(data: DockerConfigItem[] = []) {
105 return (

Callers

nothing calls this directly

Calls 1

useMountComponentFunction · 0.90

Tested by

no test coverage detected