fix(plugin-multi-app-share-collection): type error
This commit is contained in:
		
							parent
							
								
									dbdbcf8912
								
							
						
					
					
						commit
						4eb6027189
					
				@ -26,11 +26,11 @@ const useShareCollectionAction = () => {
 | 
				
			|||||||
  };
 | 
					  };
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const updateSchema = tableActionColumnSchema.properties.update;
 | 
					const updateSchema = tableActionColumnSchema.properties['update'];
 | 
				
			||||||
const deleteSchema = tableActionColumnSchema.properties.delete;
 | 
					const deleteSchema = tableActionColumnSchema.properties['delete'];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
delete tableActionColumnSchema.properties.update;
 | 
					delete tableActionColumnSchema.properties['update'];
 | 
				
			||||||
delete tableActionColumnSchema.properties.delete;
 | 
					delete tableActionColumnSchema.properties['delete'];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
tableActionColumnSchema.properties['collection'] = {
 | 
					tableActionColumnSchema.properties['collection'] = {
 | 
				
			||||||
  type: 'void',
 | 
					  type: 'void',
 | 
				
			||||||
@ -78,8 +78,8 @@ tableActionColumnSchema.properties['collection'] = {
 | 
				
			|||||||
  },
 | 
					  },
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
tableActionColumnSchema.properties.update = updateSchema;
 | 
					tableActionColumnSchema.properties['update'] = updateSchema;
 | 
				
			||||||
tableActionColumnSchema.properties.delete = deleteSchema;
 | 
					tableActionColumnSchema.properties['delete'] = deleteSchema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export const MultiAppShareCollectionProvider = (props) => {
 | 
					export const MultiAppShareCollectionProvider = (props) => {
 | 
				
			||||||
  return <>{props.children}</>;
 | 
					  return <>{props.children}</>;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user