use events check

This commit is contained in:
Kyle Spearrin 2017-12-14 18:04:18 -05:00
parent ac079b9d88
commit 9834f3d2aa
2 changed files with 5 additions and 1 deletions

View File

@ -150,6 +150,8 @@ angular
maxStorageGb: profile.Organizations[i].MaxStorageGb,
seats: profile.Organizations[i].Seats,
useGroups: profile.Organizations[i].UseGroups,
useDirectory: profile.Organizations[i].UseDirectory,
useEvents: profile.Organizations[i].UseEvents,
useTotp: profile.Organizations[i].UseTotp
};
}
@ -183,6 +185,8 @@ angular
maxStorageGb: org.MaxStorageGb,
seats: org.Seats,
useGroups: org.UseGroups,
useDirectory: org.UseDirectory,
useEvents: org.UseEvents,
useTotp: org.UseTotp
};
profile.organizations[o.id] = o;

View File

@ -95,7 +95,7 @@
</li>
</ul>
</li>
<li ng-class="{active: $state.is('backend.org.events')}" ng-if="orgProfile.useGroups">
<li ng-class="{active: $state.is('backend.org.events')}" ng-if="orgProfile.useEvents">
<a ui-sref="backend.org.events({orgId: params.orgId})">
<i class="fa fa-file-text-o fa-fw"></i> <span>Audit Logs</span>
</a>