Commit 551c52b9 authored by yann300's avatar yann300 Committed by LianaHus

fix doc and remove unused param

parent f44f7332
...@@ -12,7 +12,7 @@ module.exports = class LocalPlugin { ...@@ -12,7 +12,7 @@ module.exports = class LocalPlugin {
/** /**
* Open a modal to create a local plugin * 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 * @returns {Promise<{api: any, profile: any}>} A promise with the new plugin profile
*/ */
open (plugins) { open (plugins) {
...@@ -26,7 +26,7 @@ module.exports = class LocalPlugin { ...@@ -26,7 +26,7 @@ module.exports = class LocalPlugin {
reject(err) reject(err)
} }
} }
modalDialog('Local Plugin', this.form(plugins), modalDialog('Local Plugin', this.form(),
{ fn: () => onValidation() }, { fn: () => onValidation() },
{ fn: () => resolve() } { fn: () => resolve() }
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment