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

Function useVolumeEditDialog

frontend/src/components/fc/index.ts:104–125  ·  view source on GitHub ↗
(data: DockerConfigItem[] = [])

Source from the content-addressed store, hash-verified

102}
103
104export async function useVolumeEditDialog(data: DockerConfigItem[] = []) {
105 return (
106 (await useMountComponent({
107 data,
108 subTitle: t("TXT_CODE_6c232c9c"),
109 title: t("TXT_CODE_820ebc92"),
110 columns: [
111 {
112 align: "center",
113 dataIndex: "host",
114 title: t("TXT_CODE_681aaeb9")
115 },
116 {
117 align: "center",
118 dataIndex: "container",
119 title: t("TXT_CODE_30258325")
120 }
121 ] as AntColumnsType[],
122 textarea: true
123 }).mount<DockerConfigItem[]>(KvOptionsDialogVue)) || []
124 );
125}
126
127export async function useDockerEnvEditDialog(data: DockerEnvItem[] = []) {
128 return (

Callers

nothing calls this directly

Calls 1

useMountComponentFunction · 0.90

Tested by

no test coverage detected