|
|
@ -81,10 +81,12 @@ export const [useProvideAttachmentCell, useAttachmentCell] = useInjectionState( |
|
|
|
if (isPublic.value) { |
|
|
|
if (isPublic.value) { |
|
|
|
storedFiles.value.splice(i, 1) |
|
|
|
storedFiles.value.splice(i, 1) |
|
|
|
attachments.value.splice(i, 1) |
|
|
|
attachments.value.splice(i, 1) |
|
|
|
|
|
|
|
selectedVisibleItems.value.splice(i, 1) |
|
|
|
|
|
|
|
|
|
|
|
updateModelValue(storedFiles.value) |
|
|
|
updateModelValue(storedFiles.value) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
attachments.value.splice(i, 1) |
|
|
|
attachments.value.splice(i, 1) |
|
|
|
|
|
|
|
selectedVisibleItems.value.splice(i, 1) |
|
|
|
|
|
|
|
|
|
|
|
updateModelValue(JSON.stringify(attachments.value)) |
|
|
|
updateModelValue(JSON.stringify(attachments.value)) |
|
|
|
} |
|
|
|
} |
|
|
|