@overmap-ai/core 1.0.44-tiptap.2 → 1.0.44-tiptap.3
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.
package/dist/overmap-core.js
CHANGED
|
@@ -4424,7 +4424,7 @@ class AttachmentService extends BaseApiService {
|
|
|
4424
4424
|
if (!attachment) {
|
|
4425
4425
|
throw new Error(`Attachment ${componentAttachmentId} not found`);
|
|
4426
4426
|
}
|
|
4427
|
-
store.dispatch(
|
|
4427
|
+
store.dispatch(removeComponentAttachment(componentAttachmentId));
|
|
4428
4428
|
void this.client.files.removeCache(attachment.file_sha1);
|
|
4429
4429
|
return this.enqueueRequest({
|
|
4430
4430
|
description: "Delete attachment",
|
|
@@ -4440,7 +4440,7 @@ class AttachmentService extends BaseApiService {
|
|
|
4440
4440
|
if (!attachment) {
|
|
4441
4441
|
throw new Error(`Attachment ${componentTypeAttachmentId} not found`);
|
|
4442
4442
|
}
|
|
4443
|
-
store.dispatch(
|
|
4443
|
+
store.dispatch(removeComponentTypeAttachment(componentTypeAttachmentId));
|
|
4444
4444
|
void this.client.files.removeCache(attachment.file_sha1);
|
|
4445
4445
|
return this.enqueueRequest({
|
|
4446
4446
|
description: "Delete attachment",
|