diff --git a/src/app/components/local-plugin.js b/src/app/components/local-plugin.js index bcd2929236..73eb282593 100644 --- a/src/app/components/local-plugin.js +++ b/src/app/components/local-plugin.js @@ -12,7 +12,7 @@ module.exports = class LocalPlugin { /** * Open a modal to create a local plugin - * @param {PluginApi[]} plugins The list of the plugins in the store + * @param {Profile[]} plugins The list of the plugins in the store * @returns {Promise<{api: any, profile: any}>} A promise with the new plugin profile */ open (plugins) { @@ -26,7 +26,7 @@ module.exports = class LocalPlugin { reject(err) } } - modalDialog('Local Plugin', this.form(plugins), + modalDialog('Local Plugin', this.form(), { fn: () => onValidation() }, { fn: () => resolve() } )