(data: DockerLabelItem[] = [])
| 147 | } |
| 148 | |
| 149 | export 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 | |
| 172 | export async function useDockerCapabilityEditDialog(data: DockerCapabilityItem[] = []) { |
| 173 | return ( |
nothing calls this directly
no test coverage detected