MCPcopy
hub / github.com/webpack/webpack / onCopyList

Function onCopyList

test/configCases/inner-graph/issue-11678/module.js:255–273  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

253 }
254}
255function onCopyList() {
256 return [
257 ...(_getModuleName() === ModuleNameEnum.JOB
258 ? [
259 {
260 rowId: "duplicateInJob",
261 rowText: TC.duplicateInJob,
262 rowListener: onDuplicate
263 }
264 ]
265 : []),
266 {
267 rowId: "copyToOtherJob",
268 rowText: TC.copyToOtherJob,
269 rowListener: onCopyToJob
270 },
271 { rowId: "copyToCe", rowText: TC.copyToCe, rowListener: onCopyToCe }
272 ];
273}
274async function onCopyFromOrderToJob() {
275 if (_parentTableSelection) {
276 const id = _parentTableSelection.orde_orderid;

Callers 1

_createToolbarTableFunction · 0.85

Calls 1

_getModuleNameFunction · 0.85

Tested by

no test coverage detected