@arsedizioni/ars-utils 21.2.278 → 21.2.279

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.
@@ -502,6 +502,7 @@ class ClipperDocumentManager {
502
502
  this.broadcastService = inject(BroadcastService);
503
503
  this.dialogService = inject(ApplicationDialogService);
504
504
  this.canUseArchive = signal(false, ...(ngDevMode ? [{ debugName: "canUseArchive" }] : /* istanbul ignore next */ []));
505
+ this.canUseNotes = signal(false, ...(ngDevMode ? [{ debugName: "canUseNotes" }] : /* istanbul ignore next */ []));
505
506
  this.canHandleTooManyResults = signal(false, ...(ngDevMode ? [{ debugName: "canHandleTooManyResults" }] : /* istanbul ignore next */ []));
506
507
  this.canPopulateContacts = signal(false, ...(ngDevMode ? [{ debugName: "canPopulateContacts" }] : /* istanbul ignore next */ []));
507
508
  }
@@ -1520,7 +1521,7 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
1520
1521
  if (((this.filterParams.flags ?? 0) & ClipperQueryDocumentFlags.UseSemanticSearch) > 0) {
1521
1522
  query = '$' + query;
1522
1523
  }
1523
- ClipperDocumentsUtils.openDocument(this.injector, documentId, query, queryChunks, this.selectionMode(), undefined, this.themeService.getTheme(), this.canUseArchive(), this.canHandleTooManyResults());
1524
+ ClipperDocumentsUtils.openDocument(this.injector, documentId, query, queryChunks, this.selectionMode(), undefined, this.themeService.getTheme(), this.canUseArchive(), this.canUseNotes(), this.canHandleTooManyResults());
1524
1525
  }
1525
1526
  ///
1526
1527
  // Restorable