diff --git a/src/components/packageManager.js b/src/components/packageManager.js index c20f6c5d3e..2a15a14f34 100644 --- a/src/components/packageManager.js +++ b/src/components/packageManager.js @@ -73,11 +73,11 @@ import pluginManager from 'pluginManager'; } addPackage(pkg) { - this.packagesList = this.packagesList.filter((p) => { + this.#packagesList = this.#packagesList.filter((p) => { return p.name !== pkg.name; }); - this.packagesList.push(pkg); + this.#packagesList.push(pkg); } removeUrl(url) { diff --git a/src/components/pluginManager.js b/src/components/pluginManager.js index b662cca836..55a5c230ff 100644 --- a/src/components/pluginManager.js +++ b/src/components/pluginManager.js @@ -135,8 +135,6 @@ import globalize from 'globalize'; })[0]; } - console.dir(plugin); - var url = plugin.baseUrl + '/' + path; if (addCacheParam) {