MCPcopy
hub / github.com/webpack/webpack / _resetDetails

Function _resetDetails

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

Source from the content-addressed store, hash-verified

1741 }
1742}
1743async function _resetDetails() {
1744 setTableOverlayPanel("");
1745 const isAddTask =
1746 typeof _options !== "undefined" && _options.hasOwnProperty("addTask")
1747 ? _options.addTask === 1
1748 : false;
1749 if (_tableObject.getCurrentRow() === null || isAddTask) {
1750
1751 await _removeDetails();
1752 } else {
1753
1754 await _showForm(buttons.STATE.show, _getDataFromSelectedEntry());
1755 }
1756}
1757async function _removeDetails() {
1758 _hideTheForm();
1759 await _createToolbarTable(buttons.STATE.initialize);

Callers 1

onCancelFunction · 0.85

Calls 4

setTableOverlayPanelFunction · 0.85
_removeDetailsFunction · 0.85
_showFormFunction · 0.85

Tested by

no test coverage detected