fix: batch edit deletes relational table fields (#1743)
This commit is contained in:
		
							parent
							
								
									564fe24c8a
								
							
						
					
					
						commit
						7b892cec50
					
				@ -24,18 +24,18 @@ export const BulkEditFormItemInitializers = (props: any) => {
 | 
			
		||||
            children: useCustomBulkEditFormItemInitializerFields(),
 | 
			
		||||
          },
 | 
			
		||||
        ],
 | 
			
		||||
        associationFields.length > 0
 | 
			
		||||
          ? [
 | 
			
		||||
              {
 | 
			
		||||
                type: 'divider',
 | 
			
		||||
              },
 | 
			
		||||
              {
 | 
			
		||||
                type: 'itemGroup',
 | 
			
		||||
                title: t('Display association fields'),
 | 
			
		||||
                children: associationFields,
 | 
			
		||||
              },
 | 
			
		||||
            ]
 | 
			
		||||
          : [],
 | 
			
		||||
        // associationFields.length > 0
 | 
			
		||||
        //   ? [
 | 
			
		||||
        //       {
 | 
			
		||||
        //         type: 'divider',
 | 
			
		||||
        //       },
 | 
			
		||||
        //       {
 | 
			
		||||
        //         type: 'itemGroup',
 | 
			
		||||
        //         title: t('Display association fields'),
 | 
			
		||||
        //         children: associationFields,
 | 
			
		||||
        //       },
 | 
			
		||||
        //     ]
 | 
			
		||||
        //   : [],
 | 
			
		||||
        [
 | 
			
		||||
          {
 | 
			
		||||
            type: 'divider',
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user