File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
plugins/arcgis/service/src Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,12 @@ export class ObservationProcessor {
163163 */
164164 private async updateConfig ( ) : Promise < ArcGISPluginConfig > {
165165 const config = await this . safeGetConfig ( )
166- const configJson = JSON . stringify ( config )
166+
167+ // Include form definitions while detecting changes in config
168+ const eventForms = await this . _eventRepo . findAll ( ) ;
169+ const fullConfig = { ...config , eventForms } ;
170+
171+ const configJson = JSON . stringify ( fullConfig )
167172 if ( this . _previousConfig == null || this . _previousConfig != configJson ) {
168173 this . _transformer = new ObservationsTransformer ( config , console ) ;
169174 this . _geometryChangeHandler = new GeometryChangedHandler ( this . _transformer ) ;
You can’t perform that action at this time.
0 commit comments