(catalogs, id)
| 630 | } |
| 631 | |
| 632 | _deleteLayerCatalog(catalogs, id) { |
| 633 | for (let index = 0; index < catalogs.length; index++) { |
| 634 | const catalog = catalogs[index]; |
| 635 | if (catalog.id === id) { |
| 636 | catalogs.splice(index, 1); |
| 637 | break; |
| 638 | } |
| 639 | if (catalog.children) { |
| 640 | this._deleteLayerCatalog(catalog.children, id); |
| 641 | } |
| 642 | } |
| 643 | } |
| 644 | |
| 645 | _updateLayerCatalogsId({ |
| 646 | loopData, |
no outgoing calls
no test coverage detected