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

Function useDockerEnvEditDialog

frontend/src/components/fc/index.ts:127–147  ·  view source on GitHub ↗
(data: DockerEnvItem[] = [])

Source from the content-addressed store, hash-verified

125}
126
127export async function useDockerEnvEditDialog(data: DockerEnvItem[] = []) {
128 return (
129 (await useMountComponent({
130 data,
131 title: t("TXT_CODE_90a9d317"),
132 columns: [
133 {
134 align: "center",
135 dataIndex: "label",
136 title: t("TXT_CODE_a42984e")
137 },
138 {
139 align: "center",
140 dataIndex: "value",
141 title: t("TXT_CODE_115e8a25")
142 }
143 ] as AntColumnsType[],
144 textarea: true
145 }).mount<DockerEnvItem[]>(KvOptionsDialogVue)) || []
146 );
147}
148
149export async function useDockerLabelEditDialog(data: DockerLabelItem[] = []) {
150 return (

Callers

nothing calls this directly

Calls 1

useMountComponentFunction · 0.90

Tested by

no test coverage detected