@arsedizioni/ars-utils 21.2.247 → 21.2.250

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.
@@ -4313,7 +4313,7 @@ class ClipperNoteEditComponent {
4313
4313
  this.done = output();
4314
4314
  this.dialogService = inject(ApplicationDialogService);
4315
4315
  this.dialogData = inject(MAT_DIALOG_DATA);
4316
- this.dialogTitle = signal('Annotazione', ...(ngDevMode ? [{ debugName: "dialogTitle" }] : /* istanbul ignore next */ []));
4316
+ this.dialogTitle = signal((this.dialogData.currentItem?.id ?? 0) > 0 ? 'Modifica annotazione' : 'Nuova annotazione', ...(ngDevMode ? [{ debugName: "dialogTitle" }] : /* istanbul ignore next */ []));
4317
4317
  this.clipperService = inject(ClipperService);
4318
4318
  this.colors = NotesColors;
4319
4319
  this.isNew = signal(!this.dialogData?.currentItem?.id, ...(ngDevMode ? [{ debugName: "isNew" }] : /* istanbul ignore next */ []));