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

Function useDockerLabelEditDialog

frontend/src/components/fc/index.ts:149–170  ·  view source on GitHub ↗
(data: DockerLabelItem[] = [])

Source from the content-addressed store, hash-verified

147}
148
149export async function useDockerLabelEditDialog(data: DockerLabelItem[] = []) {
150 return (
151 (await useMountComponent({
152 data,
153 title: t("TXT_CODE_g1c43s2h"),
154 subTitle: t("TXT_CODE_MimBB1Ea"),
155 columns: [
156 {
157 align: "center",
158 dataIndex: "label",
159 title: t("TXT_CODE_a42984e")
160 },
161 {
162 align: "center",
163 dataIndex: "value",
164 title: t("TXT_CODE_115e8a25")
165 }
166 ] as AntColumnsType[],
167 textarea: true
168 }).mount<DockerLabelItem[]>(KvOptionsDialogVue)) || []
169 );
170}
171
172export async function useDockerCapabilityEditDialog(data: DockerCapabilityItem[] = []) {
173 return (

Callers

nothing calls this directly

Calls 1

useMountComponentFunction · 0.90

Tested by

no test coverage detected