fix: add menu role
This commit is contained in:
		
							parent
							
								
									ac2b05f04c
								
							
						
					
					
						commit
						45453afa0a
					
				@ -7,7 +7,7 @@ export async function bindMenuToRole({ schemaInstance, db, options }) {
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  for (const role of addNewMenuRoles) {
 | 
			
		||||
    await db.getRepository('roles.menuUiSchemas', role.get('name')).set({
 | 
			
		||||
    await db.getRepository('roles.menuUiSchemas', role.get('name')).add({
 | 
			
		||||
      tk: schemaInstance.get('uid'),
 | 
			
		||||
      transaction,
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user