@live-change/vue3-components 0.2.6 → 0.2.7
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.
|
@@ -79,7 +79,7 @@ function synchronizedList(options) {
|
|
|
79
79
|
obsoleteLocallyAdded.add(locallyAddedElement.id)
|
|
80
80
|
}
|
|
81
81
|
if(locallyDeletedElement && !sourceElement) {
|
|
82
|
-
obsoleteLocallyDeleted.add(
|
|
82
|
+
obsoleteLocallyDeleted.add(locallyDeletedElement.id)
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
if(synchronizedElement) {
|
|
@@ -130,8 +130,9 @@ function synchronizedList(options) {
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
async function deleteElement(element) {
|
|
133
|
+
const deleted = JSON.parse(JSON.stringify(element))
|
|
133
134
|
locallyDeleted.value.push(element)
|
|
134
|
-
await deleteAction({ ...element, ...identifiers })
|
|
135
|
+
await deleteAction({ ...element, ...identifiers, ...objectIdentifiers(element) })
|
|
135
136
|
}
|
|
136
137
|
|
|
137
138
|
async function move(element, toId) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/vue3-components",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"description": "Live Change Framework - vue components",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
},
|
|
22
22
|
"homepage": "https://github.com/live-change/live-change-framework-vue3",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@live-change/vue3-ssr": "^0.2.
|
|
24
|
+
"@live-change/vue3-ssr": "^0.2.7",
|
|
25
25
|
"debug": "^4.3.2",
|
|
26
26
|
"mitt": "3.0.0",
|
|
27
27
|
"vue": "^3.2.31"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "dc64c11dd7c599eeb073771e6ee815b8d2fdfbe1"
|
|
30
30
|
}
|