Fix plugins not starting when manually loading all content
This commit is contained in:
parent
c5cfed6902
commit
0c361ce33f
|
@ -148,6 +148,8 @@ export default class {
|
|||
* @param {bool} suppressErrors Suppress any errors that occur during loading of content
|
||||
*/
|
||||
static async refreshContent(suppressErrors = false) {
|
||||
this.loaded = true;
|
||||
|
||||
if (!this.localContent.length) return this.loadAllContent();
|
||||
|
||||
try {
|
||||
|
|
|
@ -40,7 +40,7 @@ export default class ThemeManager extends ContentManager {
|
|||
});
|
||||
if (instance.enabled) {
|
||||
instance.userConfig.enabled = false;
|
||||
instance.enable();
|
||||
instance.enable(false);
|
||||
}
|
||||
return instance;
|
||||
} catch (err) {
|
||||
|
|
Loading…
Reference in New Issue