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

Merge pull request #855 from mblythe86/issue847

Fix extension configuration loading issue
This commit is contained in:
Patrik J. Braun 2024-03-20 08:20:29 +01:00 committed by GitHub
commit 40e8147883
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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