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:
parent
3811fc3c99
commit
e89af221c9
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user