File tree Expand file tree Collapse file tree
src/visualBuilder/eventManager Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,10 +53,6 @@ async function handleRevalidateFieldData(): Promise<void> {
5353 ] ) ;
5454
5555 if ( fieldSchema && fieldData ) {
56- console . log (
57- "Successfully revalidated field data for content type:" ,
58- fieldMetadata . content_type_uid
59- ) ;
6056 return ;
6157 }
6258 } catch ( fieldError ) {
@@ -72,16 +68,12 @@ async function handleRevalidateFieldData(): Promise<void> {
7268 // Fallback 1: Clear all field schema cache
7369 try {
7470 FieldSchemaMap . clear ( ) ;
75- console . log (
76- "Cleared all field schema cache due to revalidation request"
77- ) ;
7871 return ;
7972 } catch ( clearError ) {
80- console . warn ( "Failed to clear field schema cache:" , clearError ) ;
73+ console . error ( "Failed to clear field schema cache:" , clearError ) ;
8174 }
8275
8376 // Fallback 2: Refresh the entire iframe
84- console . log ( "Refreshing iframe due to failed field data revalidation" ) ;
8577 window . location . reload ( ) ;
8678 } catch ( error ) {
8779 console . error ( "Error handling revalidate field data:" , error ) ;
You can’t perform that action at this time.
0 commit comments