fix doc and remove unused param

pull/1/head
yann300 5 years ago committed by LianaHus
parent f44f73322a
commit 551c52b9ca
  1. 4
      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() }
)

Loading…
Cancel
Save