carriera-intern 1.1.102 → 1.1.103
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.
|
@@ -5186,7 +5186,12 @@ class DropZoneComponent {
|
|
|
5186
5186
|
this.submitCrop(true);
|
|
5187
5187
|
}
|
|
5188
5188
|
this.isLoadingSkeleton.set(false);
|
|
5189
|
-
this.
|
|
5189
|
+
const externalDeletedIds = this.deletedFileIds() ?? [];
|
|
5190
|
+
if (externalDeletedIds.length) {
|
|
5191
|
+
this.deletedDocs.update((current) => [
|
|
5192
|
+
...new Set([...current, ...externalDeletedIds]),
|
|
5193
|
+
]);
|
|
5194
|
+
}
|
|
5190
5195
|
}
|
|
5191
5196
|
updateRangeBackground(input) {
|
|
5192
5197
|
if (!input)
|
|
@@ -5865,7 +5870,7 @@ class DropZoneComponent {
|
|
|
5865
5870
|
handleDelete(fileName) {
|
|
5866
5871
|
this.carouselLeft();
|
|
5867
5872
|
const fileIdToDelete = this.docs().find((doc) => doc.fileName === fileName)?.fileId;
|
|
5868
|
-
if (fileIdToDelete) {
|
|
5873
|
+
if (fileIdToDelete != null) {
|
|
5869
5874
|
this.deletedDocs.set([...this.deletedDocs(), fileIdToDelete]);
|
|
5870
5875
|
this.onDeletedFileIds.emit(this.deletedDocs());
|
|
5871
5876
|
}
|