1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

Fix extension configuration loading issue

This commit is contained in:
Matthew Blythe 2024-03-19 02:00:42 -06:00
parent 3811fc3c99
commit e89af221c9

View File

@ -50,6 +50,7 @@ export class ExtensionConfig<C> implements IExtensionConfig<C> {
public setTemplate(template: new() => C): void { public setTemplate(template: new() => C): void {
this.template = template; this.template = template;
this.loadToConfig(Config); this.loadToConfig(Config);
Config.loadSync();
} }
loadToConfig(config: PrivateConfigClass) { loadToConfig(config: PrivateConfigClass) {