Functional plugin reload
This commit is contained in:
parent
0a05c0d68a
commit
a509495b9f
|
@ -15,6 +15,7 @@
|
|||
async function refreshLocalPlugins() {
|
||||
try {
|
||||
await PluginManager.refreshPlugins();
|
||||
this.$forceUpdate();
|
||||
} catch (err) {
|
||||
|
||||
}
|
||||
|
@ -36,8 +37,9 @@
|
|||
}
|
||||
}
|
||||
|
||||
function reloadPlugin(plugin) {
|
||||
this.pluginManager.reloadPlugin(plugin.name);
|
||||
async function reloadPlugin(plugin) {
|
||||
await this.pluginManager.reloadPlugin(plugin.name);
|
||||
this.$forceUpdate();
|
||||
}
|
||||
|
||||
function showSettings(plugin) {
|
||||
|
|
Loading…
Reference in New Issue