@sinequa/atomic-angular 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3745,6 +3745,8 @@ class AuditService {
|
|
|
3745
3745
|
* @param auditEvents The audit events
|
|
3746
3746
|
*/
|
|
3747
3747
|
notify(auditEvents) {
|
|
3748
|
+
if (!isAuthenticated())
|
|
3749
|
+
return; // Don't send audit events if the user is not authenticated
|
|
3748
3750
|
this.http
|
|
3749
3751
|
.post(this.API_URL + '/audit.notify', {
|
|
3750
3752
|
event: 'None', // AuditEventType.None,
|
|
@@ -13312,8 +13314,8 @@ class AggregationTreeComponent {
|
|
|
13312
13314
|
});
|
|
13313
13315
|
this.destroyRef.onDestroy(() => {
|
|
13314
13316
|
// If the popover is closed with unapplied selections, reset state so it doesn't persist when reopening
|
|
13317
|
+
sessionStorage.removeItem(`agg-${this.aggregation()?.column}`);
|
|
13315
13318
|
if (this.selection()) {
|
|
13316
|
-
sessionStorage.removeItem(`agg-${this.aggregation()?.column}`);
|
|
13317
13319
|
const unselect = (items) => {
|
|
13318
13320
|
items.forEach((item) => {
|
|
13319
13321
|
item.$selected = false;
|