@arsedizioni/ars-utils 21.2.227 → 21.2.229

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.
@@ -120,7 +120,7 @@ class ClipperDocumentMenuComponent {
120
120
  this.canSendByEmail = computed(() => this.getMultipleSelection().length > 0, ...(ngDevMode ? [{ debugName: "canSendByEmail" }] : /* istanbul ignore next */ []));
121
121
  /** `true` when custom properties can be added to the single selected document. */
122
122
  this.canAddProperties = computed(() => this.canUseProperties() &&
123
- this.clipperService.loginInfo?.context.hasWorkspace === true &&
123
+ this.clipperService.loginInfo?.context.hasSharedNotes === true &&
124
124
  this.hasSingleSelection(), ...(ngDevMode ? [{ debugName: "canAddProperties" }] : /* istanbul ignore next */ []));
125
125
  /** `true` when archive access is enabled and there is at least one selected item. */
126
126
  this.canAddToArchive = computed(() => this.canUseArchive() && this.canSendByEmail(), ...(ngDevMode ? [{ debugName: "canAddToArchive" }] : /* istanbul ignore next */ []));
@@ -3443,7 +3443,7 @@ class ClipperContactEditComponent {
3443
3443
  */
3444
3444
  loadTeams() {
3445
3445
  this.clipperService
3446
- .getTeams({ productId: ClipperTeamProduct.SharedWorkspace })
3446
+ .getTeams({ productId: ClipperTeamProduct.SharedNotes })
3447
3447
  .subscribe(r => {
3448
3448
  if (!r.success) {
3449
3449
  this.dialogService.error(r.message);
@@ -4330,7 +4330,7 @@ class ClipperPropertyEditComponent {
4330
4330
  */
4331
4331
  loadTeams() {
4332
4332
  this.clipperService
4333
- .getTeams({ productId: ClipperTeamProduct.SharedWorkspace })
4333
+ .getTeams({ productId: ClipperTeamProduct.SharedNotes })
4334
4334
  .subscribe(r => {
4335
4335
  if (!r.success) {
4336
4336
  this.dialogService.error(r.message);