mirror of
https://github.com/Kopano-dev/kopano-ol-extension.git
synced 2023-10-10 13:37:40 +02:00
[KOE-166] Disabled whole store sharing option for stores that have no email address, as they will never be successfully opened.
This commit is contained in:
parent
c0f456aac3
commit
8cf69d2727
@ -716,7 +716,7 @@ namespace Acacia.Features.SharedFolders
|
|||||||
// Ignore the root nodes
|
// Ignore the root nodes
|
||||||
if (node is StoreTreeNode)
|
if (node is StoreTreeNode)
|
||||||
{
|
{
|
||||||
if (!_folders.SupportsWholeStore)
|
if (!_folders.SupportsWholeStore || !node.HasCheckBox)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
StoreTreeNode storeNode = (StoreTreeNode)node;
|
StoreTreeNode storeNode = (StoreTreeNode)node;
|
||||||
|
@ -102,7 +102,7 @@ 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;
|
HasCheckBox = folders.SupportsWholeStore && !string.IsNullOrWhiteSpace(user.EmailAddress);
|
||||||
ApplyReadOnly(this, IsReadOnly);
|
ApplyReadOnly(this, IsReadOnly);
|
||||||
|
|
||||||
// TODO: better icons, better way of handling this
|
// TODO: better icons, better way of handling this
|
||||||
|
Loading…
Reference in New Issue
Block a user