File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 12151215 ) ;
12161216 const fieldType = fieldSettings . type || '' ;
12171217
1218+ // Skip field types that are handled by ComponentService to prevent duplicate API calls
1219+ // ComponentService handles:
1220+ // - connection (uses compact endpoint via dt-connection component)
1221+ // - location (uses compact endpoint via dt-location component)
1222+ // - location_meta (uses compact endpoint via dt-location-map component)
1223+ // - tags (handled via dt-tags component)
1224+ if (
1225+ fieldType === 'connection' ||
1226+ fieldType === 'location' ||
1227+ fieldType === 'location_meta' ||
1228+ fieldType === 'tags'
1229+ ) {
1230+ return ;
1231+ }
1232+
12181233 let endpoint = 'field-options' ;
1219- if ( fieldType === 'tags' || fieldType === ' multi_select') {
1234+ if ( fieldType === 'multi_select' ) {
12201235 endpoint = 'multi-select-values' ;
12211236 }
12221237
You can’t perform that action at this time.
0 commit comments