mirror of
				https://github.com/Kopano-dev/kopano-ol-extension.git
				synced 2023-10-10 11:37:40 +00:00 
			
		
		
		
	[KOE-166] Showing checkbox for impersonated stores that are already opened even without an email address, to allow removing it
This commit is contained in:
		@@ -102,7 +102,9 @@ namespace Acacia.Features.SharedFolders
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
            ChildLoader = new UserFolderLoader(this, folders, user);
 | 
					            ChildLoader = new UserFolderLoader(this, folders, user);
 | 
				
			||||||
            ChildLoader.ReloadOnCloseOpen = true;
 | 
					            ChildLoader.ReloadOnCloseOpen = true;
 | 
				
			||||||
            HasCheckBox = folders.SupportsWholeStore && !string.IsNullOrWhiteSpace(user.EmailAddress);
 | 
					            // Can only open the whole store if it's supported and there's an email address, as that's needed to open it
 | 
				
			||||||
 | 
					            // However, if it's already opened, we can remove it without the email address
 | 
				
			||||||
 | 
					            HasCheckBox = folders.SupportsWholeStore && (!string.IsNullOrWhiteSpace(user.EmailAddress) || isShared);
 | 
				
			||||||
            ApplyReadOnly(this, IsReadOnly);
 | 
					            ApplyReadOnly(this, IsReadOnly);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            // TODO: better icons, better way of handling this
 | 
					            // TODO: better icons, better way of handling this
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user