TF-1311 Check condition isMailboxPersonal
This commit is contained in:
@@ -148,9 +148,10 @@ abstract class BaseMailboxController extends BaseController {
|
||||
bool get personalMailboxHasChild =>
|
||||
personalMailboxTree.value.root.childrenItems?.isNotEmpty ?? false;
|
||||
|
||||
bool get teamMailboxesHasChild =>
|
||||
(teamMailboxesTree.value.root.childrenItems?.isNotEmpty ?? false )
|
||||
bool get teamMailboxesHasChild {
|
||||
return (teamMailboxesTree.value.root.childrenItems?.isNotEmpty ?? false)
|
||||
&& !teamMailboxesTree.value.root.item.isTeamMailboxes;
|
||||
}
|
||||
|
||||
MailboxNode get defaultRootNode => defaultMailboxTree.value.root;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user