Skip to content

Commit

Permalink
fix: signal writes
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismclarke committed Nov 22, 2024
1 parent 7b6152c commit b01c0a4
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,12 @@ export class TemplateMetadataService extends SyncServiceBase {
{ allowSignalWrites: true }
);
// apply any template-specific appConfig overrides on change
effect(() => {
const templateAppConfig = this.parameterList().app_config;
this.appConfigService.setAppConfig(templateAppConfig, "template");
});
effect(
() => {
const templateAppConfig = this.parameterList().app_config;
this.appConfigService.setAppConfig(templateAppConfig, "template");
},
{ allowSignalWrites: true }
);
}
}

0 comments on commit b01c0a4

Please sign in to comment.